Documentation
¶
Index ¶
- func CloneProjectFromRemote(dir, remote string) error
- func CreateIfNotExist(file string) (*os.File, error)
- func GetCurrentPath() (string, error)
- func GetGoModulePath() (string, error)
- func GetGoPath() (string, error)
- func GetProjectPath(name string) (string, error)
- func GetValueFromInput(label string) (string, error)
- func GetValueFromMultiSelect(label string, options []string) ([]string, error)
- func GetValueFromSelect(label string, options []string) (string, error)
- func IsFileExist(file string) bool
- func IsFolderExist(dir string) bool
- func MkdirIfNotExist(dir string) error
- func RemoveIfExist(filename string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneProjectFromRemote ¶
CloneProjectFromRemote clone project from remote
func CreateIfNotExist ¶
CreateIfNotExist creates a file if it is not exists
func GetGoModulePath ¶
GetGoModulePath get go module path from local
func GetProjectPath ¶
GetProjectPath get project path
func GetValueFromInput ¶
GetValueFromInput get value from input
func GetValueFromMultiSelect ¶
GetValueFromMultiSelect get value from multi select
func GetValueFromSelect ¶
GetValueFromSelect get value from select
func IsFileExist ¶
IsFileExist returns true if the specified file is exists
func IsFolderExist ¶
IsFolderExist determine if a folder already exists
func MkdirIfNotExist ¶
MkdirIfNotExist makes directories if the input path is not exists
func RemoveIfExist ¶
RemoveIfExist deletes the specified file if it is exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.