Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScanPackage ¶
Scans the given directory and parses ast.Package objects If a targetPackage is specified we process functions within it otherwise we print stats on godoc comment coverage for all packages
Types ¶
type StatPairList ¶
type StatPairList []StatPair
func (StatPairList) Len ¶
func (p StatPairList) Len() int
Len is the number of elements in the collection. Required for sort.Sort
func (StatPairList) Less ¶
func (p StatPairList) Less(i, j int) bool
Returns true if i should come before j in sorted order
func (StatPairList) Swap ¶
func (p StatPairList) Swap(i, j int)
Swaps elements i and j, used by sort.Sort
Click to show internal directories.
Click to hide internal directories.