Documentation ¶
Index ¶
- func CopyFileFromTemplate(fs embed.FS, template string, target string) error
- func FileExists(file string) bool
- func PrintError(msg string, err error)
- func PrintFatal(msg string, err error)
- func PrintInfo(msg string)
- func PrintResult(msg string, v ...any)
- func PrintSuccess(msg string)
- func PrintWarning(msg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFileFromTemplate ¶
CopyFileFromTemplate takes in a template FS full template and target path, checks if the file does not exist and copies the file.
func FileExists ¶
FileExists takes a full file path and checks if the file exists and returns true or false.
func PrintError ¶
func PrintFatal ¶
func PrintResult ¶
func PrintSuccess ¶
func PrintSuccess(msg string)
func PrintWarning ¶
func PrintWarning(msg string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.