import "container/list" func main() { // create a new list l := list.New() // add some elements to the list l.PushBack(1) l.PushBack(2) l.PushBack(3) // loop through the list using Next() for e := l.Front(); e != nil; e = e.Next() { fmt.Println(e.Value) } }In this example, we create a new `list`, add a few elements to it, and then loop through the list using the `Next()` method of each element. This prints out `1`, `2`, and `3`. The `container/list` package is an example of a standard library package in Go.