Standard library / go/token

go/token.MAP

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

Formal Syntax & Structure

go syntaxgo
const MAP Token

Working Example

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