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