Documentation
¶
Overview ¶
Package utils provides extra utility for the program
Index ¶
- Constants
- func CheckGitConfig(key string) (bool, error)
- 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 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 CheckGitConfig ¶ added in v0.5.3
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.