12 lines
147 B
Go
12 lines
147 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
var s []int
|
|
fmt.Println(s, len(s), cap(s))
|
|
if s == nil {
|
|
fmt.Println("nil!")
|
|
}
|
|
}
|