go int 值范围

uint8  : 0 to 255 
uint16 : 0 to 65535 
uint32 : 0 to 4294967295 
uint64 : 0 to 18446744073709551615 
int8   : -128 to 127 
int16  : -32768 to 32767 
int32  : -2147483648 to 2147483647 
int64  : -9223372036854775808 to 9223372036854775807

http://www.voidcn.com/link?url=https://groups.google.com/group/golang-nuts/msg/71c307e4d73024ce?pli=1


发表评论

邮箱地址不会被公开。 必填项已用*标注