Golang关键字与预定义

2017-11-03  本文已影响0人  老健子
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

这些内部预定义的名字并不是关键字,它们是可以重新定义定义的

内建常量 内建类型 内建函数
true int make
false int8 len
iota int16 cap
nil int32 new
int64 append
uint copy
uint8 close
uint16 delete
uint32 complex
uint64 real
uintprt imag
float32 panic
float64 recover
complex64
complex128
bool
byte
rune
string
error
上一篇 下一篇

猜你喜欢

热点阅读