golang内置类型

内置类型
值类型:html

bool
int(32 or 64), int8, int16, int32, int64
uint(32 or 64), uint8(byte), uint16, uint32, uint64
float32, float64
string
complex64, complex128
array    -- 固定长度的数组

引用类型:(指针类型)数组

slice   -- 序列数组(最经常使用)
map     -- 映射
chan    -- 管道
相关文章
相关标签/搜索