Versions in this module Expand all Collapse all v1 v1.0.0 Nov 14, 2021 Changes in this version + func CreateDirectory(path string, perm fs.FileMode) (string, error) + func CreateLogFile(path string, perm fs.FileMode) (file *os.File, err error) + func CreatePath(path string, perm fs.FileMode) (string, error) + func FileExists(path string) bool + func GetAbsolutePath(path string) (string, error) + func Getenv(env string, def ...string) string + func IsInt(s string) bool + func IsSuccess(status int) bool + func RandomString(n int32) string + func UnsafeBytes(s string) (bs []byte) + func UnsafeString(b []byte) string Other modules containing this package github.com/SSH-Management/utils/v2