GoLang的保留字、预定义标识符

25个保留字

breakdefaultfuncinterfaceselect
casedefergomapstruct
chanelseifgotopacakge
switchfallthroughrangetypecontinue
forimportreturnvarconst
保留字

36个预定义标识符

appendboolbytecapclosecomplex
complex64complex128uint8copyfalsefloat32
float64imagintint8int16int32
int64iotalenmakenew recover
nilpanicprintprintlnrealuint64
stringuint16trueuint32
预定义的标识符