package main func main() { slice := []string{"first", "second", "third"} println(slice[1]) slice = slice[0:2] println(slice[2]) }
go build -gcflags -B wat.go ./wat
second third
Next time I better checkout and do a proper grep.