Standard library / go/token

go/token.INT

Integer literal. Token identity is distinct from the literal text returned by scanner.Scan. Expected stdout: 'INT\n'.

Formal Syntax & Structure

go syntaxgo
const INT Token

Working Example

Example Snippetgo
package main
import (  "fmt"  "go/token")
func main() { fmt.Println(token.INT.String()) }
Go Reference