Remove First Value
Remove the first value in a list.
Examples
Filter
package main
import (
"fmt"
)
func main() {
s := []int{1, 2, 3, 4, 5}
s = s[1:]
fmt.Println(s)
}
Last Run
:
[2 3 4 5]