Go语言注释
行注释://xxxxxx
块注释:/* xxxxxx */
Go语言关键字,严格区分大小写。
1.break
2.default
3.func
4.interface
5.select
6.case
7.defet
8.go
9.map
10.struct
11.chan
12.else
13.goto
14.package
15.switch
16.const
17.fallthrough
18.if
19.range
20.type
21.contiue
22.for
23.import
24.return
25.var
Go语言预定义标识符
1.append
2.bool
3.byte
4.cap
5.close
6.complex
7.complex64
8.complex128
9.copy
10.delete
11.error
12.false
13.float32
14.float64
15.imag
16.int
17.int8
18.int32
19.int64
20.iota
21.len
22.make
23.new
24.nil
25.Panic
26.print
27.println
28.real
29.recover
30.rune
31.string
32.true
33.uint
34.uint8
35.uint16
36.uint32
37.uint64
38.uintptr
有疑问加站长微信联系(非本文作者)