Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Cmd = &cobra.Command{ Use: "deps", Short: "dependency/go.mod related tasks", FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true}, } Args = GeneralArguments{ Modules: []string{}, } )
View Source
var ( DropReplaceCmd = &cobra.Command{ Use: "drop-replace", Short: "drop the replace directive for a given module and update go.sum", FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true}, RunE: RunDropReplace, } )
View Source
var ( UpdateDepCmd = &cobra.Command{ Use: "update", Short: "Update module dependencies with given branches and update go.sum", FParseErrWhitelist: cobra.FParseErrWhitelist{UnknownFlags: true}, RunE: RunUpdateDep, } )
Functions ¶
Types ¶
type GeneralArguments ¶
Click to show internal directories.
Click to hide internal directories.