跳到主要内容

Go 代码的关键词

----------
breakcasechan
constdefaultdefer
elsefallthroughfor
funcgogoto
ifimportinterface
mappackagerange
returnselectstruct
switchtypevar
continue

Go 语言的 36 个预定义标志符:

------------
appendboolbyte
capclosecomplex
complex64complex128uint16
copyfalsefloat32
float64imagint
int8int16unit32
int32int64iota
lenmakenew
nilpanicunit64
printprintlnreal
recoverstringtrue
unitunit8unitptr