Sign in
go
/
website
/
25907e1a9659bf8d741f2a474a7c4ca6b818a036
/
.
/
_content
/
tour
/
moretypes
/
slices.go
blob: 7720f84834e9bef80afcfac97b96024435d4e2f2 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import "fmt"
func main() {
primes := [6]int{2, 3, 5, 7, 11, 13}
var s []int = primes[1:4]
fmt.Println(s)
}