Documentation
¶
Overview ¶
Package utils provides extra utility for the program
Index ¶
- Constants
- func ExecuteCmd(name string, args []string, dir string) error
- func GoFmt(appDir string) error
- func GoGetPackage(appDir string, packages []string) error
- func GoTidy(appDir string) error
- func HasChangedFlag(flagSet *pflag.FlagSet) bool
- func InitGoMod(projectName string, appDir string) error
- func NonInteractiveCommand(use string, flagSet *pflag.FlagSet) string
Constants ¶
View Source
const ProgramName = "go-blueprint"
Variables ¶
This section is empty.
Functions ¶
func ExecuteCmd ¶
ExecuteCmd provides a shorthand way to run a shell command
func GoGetPackage ¶
GoGetPackage runs "go get" for a given package in the selected directory
func HasChangedFlag ¶ added in v0.2.9
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.