func go/constant.UnaryOp
4 uses
go/constant (current package)
value.go#L958: func UnaryOp(op token.Token, y Value, prec uint) Value {
value.go#L982: re := UnaryOp(token.SUB, y.re, 0)
value.go#L983: im := UnaryOp(token.SUB, y.im, 0)
go/types
expr.go#L198: x.val = constant.UnaryOp(op, x.val, prec)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)