Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatLines ¶
FormatLines prints human findings plus a summary line.
Types ¶
type Finding ¶
type Finding struct {
File string `json:"file"`
Section string `json:"section"`
Reason string `json:"reason"`
Kind string `json:"kind"`
}
Finding is one suspect claim in a documentation section.
type Options ¶
type Options struct {
Root string
Days int // status-heading dates older than this are stale; default 90
CheckFlags bool
Remote bool
AllowDomains []string
Timeout time.Duration
Now time.Time
LookPath func(file string) (string, error)
HTTPHead func(url string) (status int, err error)
}
Options controls local and optional remote stale checks.
Click to show internal directories.
Click to hide internal directories.