Untitled

Run Settings
LanguageGo
Language Version
Run Command
package main import "fmt" func main() { var numbers []int printSlice(numbers) if(numbers == nil){ fmt.Printf("切片是空的") } } func printSlice(x []int){ fmt.Printf("len=%d cap=%d slice=%v\n",len(x),cap(x),x) }
Editor Settings
Theme
Key bindings
Full width
Lines