Documentation ¶ Index ¶ func Run(pass *analysis.Pass) (interface{}, error) type Analyzer func NewAnalyzer(pass *analysis.Pass) *Analyzer func (a *Analyzer) Exec() []*Report type Report func (n *Report) Message() string func (n *Report) Pos() token.Pos Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(pass *analysis.Pass) (interface{}, error) Types ¶ type Analyzer ¶ type Analyzer struct { Funcs []*ssa.Function // contains filtered or unexported fields } func NewAnalyzer ¶ func NewAnalyzer(pass *analysis.Pass) *Analyzer func (*Analyzer) Exec ¶ func (a *Analyzer) Exec() []*Report type Report ¶ type Report struct { Instruction ssa.Instruction } func (*Report) Message ¶ func (n *Report) Message() string func (*Report) Pos ¶ func (n *Report) Pos() token.Pos Source Files ¶ View all Source files main.go report.go ssa.go Click to show internal directories. Click to hide internal directories.