Sign in
go
/
website
/
07287109038cbabce9bbb9e132edc3434768bd45
/
.
/
_content
/
tour
/
moretypes
/
nil-slices.go
blob: a317027ce61831f17e4b7f2aa8b2a628cb783db8 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import "fmt"
func main() {
var s []int
fmt.Println(s, len(s), cap(s))
if s == nil {
fmt.Println("nil!")
}
}