Versions in this module Expand all Collapse all v0 v0.4.1 Aug 2, 2022 Changes in this version + func DisplayPosition(fset *token.FileSet, p token.Pos) token.Position + func HasRange(node Positioner) bool + func Ordinal(n int) string + func Render(pass *analysis.Pass, x interface{}) string + func RenderArgs(pass *analysis.Pass, args []ast.Expr) string + func Report(pass *analysis.Pass, node Positioner, message string, opts ...Option) + type Option func(*Options) + func FilterGenerated() Option + func Fixes(fixes ...analysis.SuggestedFix) Option + func Related(node Positioner, message string) Option + func ShortRange() Option + type Options struct + FilterGenerated bool + Fixes []analysis.SuggestedFix + Related []analysis.RelatedInformation + ShortRange bool + type Positioner interface + Pos func() token.Pos