美文网首页
golang保留字

golang保留字

作者: 深圳都这么冷 | 来源:发表于2022-07-29 09:54 被阅读0次

关键字(25个)

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

内建常量(4个)

true false iota nil

内建类型(20个)

int int8 int16 int32 int64
uint uint8 uint16 uint32 uint64 uintptr
float32 float64 complex128 complex64
bool byte rune string error

内建函数(13个)

make len cap new append copy close delete
complex real imag
panic recover

相关文章

网友评论

      本文标题:golang保留字

      本文链接:https://www.haomeiwen.com/subject/lrmcwrtx.html