mirror of https://github.com/golang/go.git
parent
c685e1b70d
commit
6def94ad83
|
|
@ -313,14 +313,14 @@ type, a function, etc. An identifier must not be a reserved word.
|
||||||
Reserved words
|
Reserved words
|
||||||
----
|
----
|
||||||
|
|
||||||
break fallthrough import return
|
break fallthrough interface return
|
||||||
case false interface select
|
case false iota select
|
||||||
const for map struct
|
const for map struct
|
||||||
chan func new switch
|
chan func new switch
|
||||||
continue go nil true
|
continue go nil true
|
||||||
default goto package type
|
default goto package type
|
||||||
else if range var
|
else if range var
|
||||||
export
|
export import
|
||||||
|
|
||||||
|
|
||||||
TODO: "len" is currently also a reserved word - it shouldn't be.
|
TODO: "len" is currently also a reserved word - it shouldn't be.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue