Standard library / go/token
go/token.UnaryPrec
Precedence level used for unary expressions. Expected stdout: '6\n'.
Formal Syntax & Structure
go syntaxgo
const UnaryPrec = 6Working Example
Example Snippetgo
package main
import ( "fmt" "go/token")
func main() { fmt.Println(token.UnaryPrec) }