go圣经(一)

栏目: Go · 发布时间: 6年前

内容简介:golang中的关键字:预定义名字:Go语言程序员推荐使用 驼峰式 命名例如:

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

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Learning Python, 5th Edition

Learning Python, 5th Edition

Mark Lutz / O'Reilly Media / 2013-7-6 / USD 64.99

If you want to write efficient, high-quality code that's easily integrated with other languages and tools, this hands-on book will help you be productive with Python quickly. Learning Python, Fifth Ed......一起来看看 《Learning Python, 5th Edition》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

SHA 加密
SHA 加密

SHA 加密工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换