Standard library / go/token

go/token.FALLTHROUGH

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

Formal Syntax & Structure

go syntaxgo
const FALLTHROUGH Token

Working Example

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