Go - Basic Syntax
Go application includes numerous tokens.Token is likewise a key-word, an identifier, a regular, a string literal, or a image. For example, the subsequent Go assertion includes six tokens
fmt.Println("Hello, World Welookups!")The man or woman tokens are
fmt . Println ( "Hello, World Welookups!" )
Line SeparatorGo application, the road separator key's a announcement terminator. Man or woman statements don't want a special separator like ";$ in C.
fmt.Println("Hello, World Welookups!") fmt.Println("I am in Go Programming!")
CommentsComments are like helping texts in your Go software and they're left out by way of the compiler. Go remark start with /* and terminates with the characters */
/* my first software in Go */
IdentifiersGo identifier is a name used to become aware of a feature, variable,or every other person-described object.
KeywordsThere are following listing the reserved phrases in Go.