go 类型

布尔类型

  • bool

数字类型

数字类型

  • unit8
  • unit16
  • unit32
  • unit64
  • int8
  • int16
  • int32
  • int64

浮点型

  • float32
  • float64
  • complex64
  • complex128

其他类型

  • byte
  • rune
  • unit
  • int
  • uintptr

派生类型

  • 指针
  • 数组
  • 结构化类型
  • Channel类型
  • 函数类型
  • 切片类型
  • 接口类型
  • Map类型