Description

NewConst returns a new constant of the specified value and type. val must be valid according to the specification of Const.Value.

NewConst is referenced in 2 repositories

github.com/golang/tools github.com/sprt/gonil