Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckArgs ¶
CheckArgs checks the packages specified by their import paths in args. It will call the onWarns function as each package is processed, passing its import path and the warnings found. Returns an error, if any.
func CheckArgsOutput ¶
CheckArgsOutput is like CheckArgs, but intended for human-readable text output.
Types ¶
type Warn ¶
Warn is an interfacer warning suggesting a better type for a function parameter.
func CheckArgsList ¶
CheckArgsList is like CheckArgs, but returning a list of all the warnings instead.
Click to show internal directories.
Click to hide internal directories.