Standard library / go/token
go/token.FUNC
Keyword 'func'. Token identity is distinct from the literal text returned by scanner.Scan. Expected stdout: 'func\n'.
Formal Syntax & Structure
go syntaxgo
const FUNC TokenWorking Example
Example Snippetgo
package main
import ( "fmt" "go/token")
func main() { fmt.Println(token.FUNC.String()) }