1. 程式人生 > >4.go語言預定義的名字

4.go語言預定義的名字

主要對應內建的常量、型別和函式。可以再定義中重新使用它們名字的作用域
內建常量: true false iota nil
內建型別: int int8 int16 int32 int64
uint uint8 uint16 uint32 uint64 uintptr
float32 float64 complex128 complex64
bool byte rune string error
內建函式: make len cap new append copy close delete
complex real imag
panic recover