Documentation ¶
Index ¶
- Constants
- func Allocate[T any](val T) *T
- func CopyFile(srcFile, dstFile string) error
- func CreateDirectory(path string) error
- func DataToFile(filename string, data interface{}) error
- func IsBinaryExist(name string) bool
- func IsDirectoryExist(path string) (isExist bool, err error)
- func IsFileExist(path string) bool
- func RemoveDirectory(path string) error
- func RemoveFile(file string) error
- func VersionToInt(version string) (major, minor, patch, build int)
Constants ¶
View Source
const (
DirPerm = 0755
)
Variables ¶
This section is empty.
Functions ¶
func CreateDirectory ¶
func DataToFile ¶
func IsBinaryExist ¶
func IsDirectoryExist ¶
func IsFileExist ¶
func RemoveDirectory ¶
func RemoveFile ¶
func VersionToInt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.