Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "devel"
Version indicates the build version, and is intended to be overridden via build flags.
Functions ¶
This section is empty.
Types ¶
type FixOptions ¶
type FixOptions struct { WriteOnError bool Overwrite bool Verbose bool Packages []string Dir string Out io.Writer }
FixOptions controls the behavior of a fix operation
func DefaultFixOptions ¶
func DefaultFixOptions() *FixOptions
DefaultFixOptions returns a default set of options
func (*FixOptions) Complete ¶
func (o *FixOptions) Complete() error
Complete populates any derived options
func (*FixOptions) Validate ¶
func (o *FixOptions) Validate() error
Validate ensures the specified options are valid
Click to show internal directories.
Click to hide internal directories.