Standard library / go/token

go/token.BREAK

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

Formal Syntax & Structure

go syntaxgo
const BREAK Token

Working Example

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