Standard library / go/token

go/token.RANGE

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

Formal Syntax & Structure

go syntaxgo
const RANGE Token

Working Example

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