Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadDownloadJSON ¶
func ReadDownloadJSON() string
ReadDownloadJSON reads dependency information and returns a Json string.
func ReadModJSON ¶
func ReadModJSON() string
ReadModJSON reads the module file and returns a Json string.
func UpdateModule ¶
func UpdateModule(options Options)
UpdateModule makes sure the module is updated ready to vendor the dependencies.
Types ¶
type Options ¶
Options contains CLI arguments passed to the program.
func ParseOptions ¶
func ParseOptions() Options
ParseOptions parses the command line options and returns a struct filled with the relevant options.
func (*Options) PrintUsage ¶
func (opt *Options) PrintUsage()
PrintUsage prints the usage of this tool.
Click to show internal directories.
Click to hide internal directories.