内置变量和函数

  • func append(slice []Type, elems ...Type) []Type
  • func cap(v Type) int
  • func close(c chan<- Type)
  • func complex(r, i FloatType) ComplexType
  • func copy(dst, src []Type) int
  • func delete(m map[Type]Type1, key Type)
  • func imag(c ComplexType) FloatType
  • func len(v Type) int
  • func make(t Type, size ...IntegerType) Type
  • func new(Type) *Type
  • func panic(v interface{})
  • func print(args ...Type)
  • func println(args ...Type)
  • func real(c ComplexType) FloatType
  • func recover() interface{}
  • type ComplexType
  • type FloatType
  • type IntegerType
  • type Type
  • type Type1
  • type bool
  • type byte
  • type complex128
  • type complex64
  • type error
  • type float32
  • type float64
  • type int
  • type int16
  • type int32
  • type int64
  • type int8
  • type rune
  • type string
  • type uint
  • type uint16
  • type uint32
  • type uint64
  • type uint8
  • type uintptr

以上是go里面的内置builtin 包里面的函数和变量,由于函数方法使用都比较简单,这里就不在赘述了

你可能感兴趣的:(内置变量和函数)