基本类型: 布尔型:boolean 整型:int8,byte,int16,int,uint,uintptr等 浮点型:float32,float64 复数类型:complex64,complex128 字符串型:string 字符型:rune 错误类型:error 复合类型: 指针:pointer 数组:array 切片:slice 字典:map 通道:chan 结构体:struct 接口:interface 1.布尔型,与其他语言中的布尔型一样 2.整型: a.类型表示 需要注意的是,int和…