Versions in this module Expand all Collapse all v0 v0.4.1 Aug 2, 2022 Changes in this version + func ExhaustiveTypeSwitch(v interface{}) + func Markdownify(m map[string]*RawDocumentation) map[string]*Documentation + type Analyzer struct + Analyzer *analysis.Analyzer + Doc *Documentation + func InitializeAnalyzers(docs map[string]*Documentation, analyzers map[string]*analysis.Analyzer) []*Analyzer + type Directive struct + Arguments []string + Command string + Directive *ast.Comment + Node ast.Node + func ParseDirectives(files []*ast.File, fset *token.FileSet) []Directive + type Documentation struct + After string + Before string + MergeIf MergeStrategy + NonDefault bool + Options []string + Severity Severity + Since string + Text string + TextMarkdown string + Title string + TitleMarkdown string + func (doc *Documentation) Format(metadata bool) string + func (doc *Documentation) FormatMarkdown(metadata bool) string + func (doc *Documentation) String() string + type MergeStrategy int + const MergeIfAll + const MergeIfAny + type RawDocumentation struct + After string + Before string + MergeIf MergeStrategy + NonDefault bool + Options []string + Severity Severity + Since string + Text string + Title string + type Severity int + const SeverityDeprecated + const SeverityError + const SeverityHint + const SeverityInfo + const SeverityNone + const SeverityWarning + type VersionFlag int + func (v *VersionFlag) Get() interface{} + func (v *VersionFlag) Set(s string) error + func (v *VersionFlag) String() string