Documentation ¶ Index ¶ Variables type IsPure func (*IsPure) AFact() func (d *IsPure) String() string type Result Constants ¶ This section is empty. Variables ¶ View Source var Analyzer = &analysis.Analyzer{ Name: "fact_purity", Doc: "Mark pure functions", Run: purity, Requires: []*analysis.Analyzer{buildir.Analyzer}, FactTypes: []analysis.Fact{(*IsPure)(nil)}, ResultType: reflect.TypeOf(Result{}), } Functions ¶ This section is empty. Types ¶ type IsPure ¶ type IsPure struct{} func (*IsPure) AFact ¶ func (*IsPure) AFact() func (*IsPure) String ¶ func (d *IsPure) String() string type Result ¶ type Result map[*types.Func]*IsPure Source Files ¶ View all Source files purity.go Click to show internal directories. Click to hide internal directories.