ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 数据类型的作用 >告诉编译器,以多大的内存,来存储数据。 ## 关键字 | break | default | func | interface | select | | -------- | ----------- | ------ | --------- | ------ | | case | defer | go | map | struct | | chan | else | goto | package | switch | | const | fallthrough | if | range | type | | continue | for | import | return | var | ## 标识符 | append | bool | byte | cap | close | complex | complex64 | complex128 | uint16 | | ------ | ------- | ------- | ------- | ------ | ------- | --------- | ---------- | ------- | | copy | false | float32 | float64 | imag | int | int8 | int16 | uint32 | | int32 | int64 | iota | len | make | new | nil | panic | uint64 | | print | println | real | recover | string | true | uint | uint8 | uintptr | ## [数据类型](http://www.runoob.com/go/go-data-types.html)