Documentation
¶
Index ¶
- Variables
- func AppendFile(sourcePath, destPath string, perm fs.FileMode) error
- func Capitalize(s string) string
- func Clean(path string) error
- func Copy(sourcePath, destPath string, replace bool) error
- func GetEnvMap() map[string]string
- func IsURL(str string) bool
- func Move(sourcePath, destPath string, replace bool) error
- func PrependFile(sourcePath, destPath string, perm fs.FileMode) error
- func SetTranslator(fn func(msgId string) string)
- func StringToFileMode(s string) (os.FileMode, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var T_ = func(msgId string) string { return msgId }
T_ is the string translation hook, defaults to identity
Functions ¶
func Capitalize ¶
func SetTranslator ¶
SetTranslator sets the translation function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.