Documentation ¶
Index ¶
- Constants
- func Copy(srcFile, dstFile string) error
- func CopyDirectory(scrDir, dest string) error
- func CopySymLink(source, dest string) error
- func CreateIfNotExists(dir string, perm os.FileMode) error
- func Exists(filePath string) bool
- func IsSeq(arr []int, start *int) bool
- func ListContainsStr(s []string, e string) bool
- func ListRemoveStr(list []string, s string) []string
- func Pprint(o interface{})
- func PrettyStruct(data interface{}) (string, error)
- func RandomString(length int) string
- func StringWithCharset(length int, charset string) string
- func TruncateResourceName(s string, i int) string
Constants ¶
View Source
const ( Charset string = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" AlphaNum string = "abcdefghijklmnopqrstuvwxyz0123456789" )
Variables ¶
This section is empty.
Functions ¶
func CopyDirectory ¶
func CopySymLink ¶
func ListContainsStr ¶
func ListRemoveStr ¶
func PrettyStruct ¶
func RandomString ¶
func StringWithCharset ¶
func TruncateResourceName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.