Documentation ¶
Index ¶
- func AddSlashOnPath(path string) string
- func CapitalizeFirstLetter(s string) string
- func ConcatDirPath(dir ...string) string
- func GetGoFilesInPath(path string) ([]string, error)
- func GetGoModName(gomodPath string) string
- func GetImportPathBasedOnProjectPath(projectPath, gomodName string) string
- func GetLastDirPath(path string) string
- func GetProjectPath(path string, pointingPath string) string
- func Gitinit(projectPath string) error
- func GoFormat(path, goModName string) error
- func GoGenerateRun(projectPath string) error
- func GoModInit(projectPath, goModName string) error
- func IsFolderHasGoMod(path string) bool
- func ReadFile(filePath string) (string, error)
- func RemoveOnlySlashPath(dirPaths []string) []string
- func RemoveSlashFirstAndLast(path string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSlashOnPath ¶
func CapitalizeFirstLetter ¶
func ConcatDirPath ¶
func GetGoFilesInPath ¶
func GetGoModName ¶
func GetLastDirPath ¶
func GetProjectPath ¶
func GoGenerateRun ¶
func IsFolderHasGoMod ¶
func RemoveOnlySlashPath ¶
func RemoveSlashFirstAndLast ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.