zoukankan      html  css  js  c++  java
  • 标识符和关键字

    标识符:只能以下划线和字母开头,由数字字母下划线组成

    关键字: break defaule func interface select case defer go map struct  chan else  goto package switch const fallthrough if range type continue for import return var 

    保留字:constants: ture false ioto nil

        types: int int8 int16 int32 in64

           uint uint8 uint16 uint32 uint64 uintptr 

           float32 float64 complex128 cinples64

           bool byte rune string error 

        functions:make len cap new append copy close delete

            complex real imag 

            panic recover

    变量声明了就必须使用,否则编译不过去

  • 相关阅读:
    ctrl+shift+k取消
    ERROR 1872
    swap
    mysql主从跳过错误
    undo
    gtid
    falcon监控指标
    连接数
    datetime与timestamp相互转换
    截取文件内容
  • 原文地址:https://www.cnblogs.com/JS1990499200/p/13428227.html
Copyright © 2011-2022 走看看