Standard library / go/token
go/token.GO
Keyword 'go'. Token identity is distinct from the literal text returned by scanner.Scan. Expected stdout: 'go\n'.
Formal Syntax & Structure
go syntaxgo
const GO TokenWorking Example
Example Snippetgo
package main
import ( "fmt" "go/token")
func main() { fmt.Println(token.GO.String()) }