Keywords and Operators

Go has several symbols and reserved words that should not be used in your code to declare identifiers. This will cause a panic, which will terminate your code on the spot.

Several reserved words are common from other languages, such as:


break case const continue else for
func if import package range return
                        

The list of symbols and reserved words can be found here

keywords_operators.go