Documentation
¶
Overview ¶
Package vocabularycheck owns glossary and pitfall-tag vocabulary policy.
Index ¶
Constants ¶
View Source
const ( // PropertyCorrectness is the protected property for vocabulary validity. PropertyCorrectness checkresult.Property = "correctness" // PropertyHeuristic is the protected property for vocabulary warnings. PropertyHeuristic checkresult.Property = "heuristic-quality" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶
type Input struct {
GlossaryEnabled bool
Authored, Merged []glossary.Record
Domains []string
Tags map[string]string
Pitfalls pitfall.Corpus
}
Input is a defensive prepared semantic projection.
type Results ¶
type Results struct {
Glossary checkresult.Result
Tags checkresult.Result
}
Results keeps glossary and tag results distinct so aggregation can preserve their established error and advisory placements without inspecting kinds.
Click to show internal directories.
Click to hide internal directories.