go 的数据类型

bool

string

int int8 int16 int32(rune) int64

uint uint8(byte) uint16 uint32 uint64

uintptr:无符号整型,用于存放一个指针

float32 float64

complex32 complex64

猜你喜欢

转载自www.cnblogs.com/cag2050/p/10596232.html