package purity
import "honnef.co/go/tools/analysis/facts/purity"
Index ¶
Variables ¶
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{}), }
Types ¶
type IsPure ¶
type IsPure struct{}
func (*IsPure) AFact ¶
func (*IsPure) AFact()
func (*IsPure) String ¶
type Result ¶
Source Files ¶
purity.go
- Version
- v0.4.1
- Published
- Feb 14, 2023
- Platform
- windows/amd64
- Imports
- 6 packages
- Last checked
- 14 minutes ago –
Tools for package owners.