美文网首页
go圣经(一)

go圣经(一)

作者: stevenlife | 来源:发表于2018-12-01 17:15 被阅读0次

    golang中的关键字:

    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 false iota nil
    
    内建类型: int int8 int16 int32 int64
          uint uint8 uint16 uint32 uint64 uintptr
          float32 float64 complex128 complex64
          bool byte rune string error
    
     内建函数: make len cap new append copy close delete
          complex real imag
          panic recover
    

    Go语言程序员推荐使用 驼峰式 命名例如:

    QuoteRuneToASCII和parseRequestLine

    相关文章

      网友评论

          本文标题:go圣经(一)

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