Go 基本类型汇总
Go支持一下几种数据类型类型称呼类型(Type)字面量(Literal)布尔值booltrue,false整数int, int8, uint8, int16, uint16, int32, uint32, int64, uint64…-1,0,1…浮点数float64, float3223.5, 2e-12字节byte (uint8, 1个char)‘a’符文rune (int32, 1个Unicode字符)‘b’字符串string
原创
2020-11-20 18:06:13 ·
1100 阅读 ·
0 评论