- 文件结构
- 常用包
fmt
,os
- 基本类型
- 基本循环、判断语法,与
C
比较
* if
* for
* switch
- 返回值,多返回值
- iota
- defer
- panic, recover
- go
- chan
- select
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
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(Type, size IntegerType) Type
func new(Type) *Type
func panic(v interface{})
func real(c ComplexType) FloatType
func recover() interface{}