Documentation
¶
Index ¶
- func CheckOS64Unit() bool
- func CopyFile(src string, dst string) error
- func EnsureDir(dir string) (err error)
- func Exists(path string) bool
- func FormatCodeIndent(str string, indent int) string
- func FormatCodeIndentLn(str string, indent int) string
- func FormatDirPath(op string) string
- func GetPWD() string
- func InSlice(items []string, item string) bool
- func IndexSlice(items []string, item string) int
- func IsDir(path string) bool
- func IsFile(path string) bool
- func IsLinuxOs() bool
- func IsWindowsOs() bool
- func RemoveDirContents(dir string) error
- func RemoveFiles(files []string) error
- func RenameFile(spath string, tpath string) error
- func ToFirstCharLower(s string) string
- func ToFirstLower(str string) string
- func ToFirstUpper(str string) string
- func WriteFile(content string, dirname string, filename string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckOS64Unit ¶
func CheckOS64Unit() bool
func FormatCodeIndent ¶
func FormatCodeIndentLn ¶
func FormatDirPath ¶
func IndexSlice ¶
func IsWindowsOs ¶
func IsWindowsOs() bool
func RemoveDirContents ¶
func RemoveFiles ¶
func RenameFile ¶
func ToFirstCharLower ¶
func ToFirstLower ¶
func ToFirstUpper ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.