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.6.1 (latest)
- Published
- Mar 5, 2025
- Platform
- darwin/amd64
- Imports
- 6 packages
- Last checked
- 2 hours ago –
Tools for package owners.