Standard library / go/token

go/token.HighestPrec

Catch-all precedence for selectors, indexing and other constructs. Expected stdout: '7\n'.

Formal Syntax & Structure

go syntaxgo
const HighestPrec = 7

Working Example

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