Documentation
¶
Index ¶
- func CheckGitConfig(key string) (bool, error)
- func CreateDunderInits(projectPath string, pathToCreate ...string) error
- func CreatePyEnv(projectName string, appDir string) error
- func ExecuteCmd(name string, args []string, dir string) error
- func GetRootDir(moduleName string) string
- 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 InstallRequirements(projectName string, appDir string) error
- func ValidateModuleName(moduleName string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckGitConfig ¶
func CreateDunderInits ¶
func CreatePyEnv ¶
func GetRootDir ¶
GetRootDir returns the project directory name from the module path. Returns the last token by splitting the moduleName with /
func GoGetPackage ¶
func InstallRequirements ¶
func ValidateModuleName ¶
ValidateModuleName returns true if it's a valid module name. It allows any number of / and . characters in between.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.