myList := list.New()
myList.PushBack("element1") myList.PushBack("element2")
myList.Remove(myList.Front()) // removes the first element of the list
for element := myList.Front(); element != nil; element = element.Next() { fmt.Println(element.Value) }In this code, we create a new list using the `New()` function provided by the `container/list` package. We then add two elements to the list using the `PushBack()` function. We remove the first element of the list using the `Remove()` function, and finally, we iterate over the list using a `for` loop. In conclusion, the Go package library used in this example is `container/list`.