Standard library / go/token

go/token.CASE

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

Formal Syntax & Structure

go syntaxgo
const CASE Token

Working Example

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