布爾類型:bool
整型:int8 byte int16 int uint uintptr
浮點類型:float32 float64
復數(shù)類型:complex64 complex128
字符串:string
字符類型:rune
錯誤類型:error
支持以下類型:
指針:pointer
數(shù)組:array
切片:slice
字典:map
通道:chan
結構體:struct
接口:interface
布爾類型:bool
整型:int8 byte int16 int uint uintptr
浮點類型:float32 float64
復數(shù)類型:complex64 complex128
字符串:string
字符類型:rune
錯誤類型:error
支持以下類型:
指針:pointer
數(shù)組:array
切片:slice
字典:map
通道:chan
結構體:struct
接口:interface