Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
func Exec(modOptions ModOptions) error
Types ¶
type ModOptions ¶
type ModOptions struct { options.LogOptions options.OutputOptions options.SBOMOptions ComponentType string ModuleDir string IncludeTest bool }
ModOptions provides options for the `mod` command.
func (*ModOptions) RegisterFlags ¶
func (m *ModOptions) RegisterFlags(fs *flag.FlagSet)
func (ModOptions) Validate ¶
func (m ModOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.