Versions in this module Expand all Collapse all v2 v2.1.0 Dec 19, 2021 Changes in this version + func GetLocalIP() string v2.0.0 Nov 20, 2021 Changes in this version + func CreateDirectory(path string, perm fs.FileMode) (string, error) + func CreateDirectoryFromFile(path string, perm fs.FileMode) (string, error) + func CreateFile(path string, flags int, dirMode, mode fs.FileMode) (file *os.File, err error) + func CreateLogFile(path string) (file *os.File, err 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