Documentation ¶
Index ¶
- func EnvToBool(value *bool, key string, defaultValue bool)
- func EnvToInt(value *int, key string, defaultValue int)
- func EnvToString(value *string, key string, defaultValue string)
- func GenerateRandomString(length int) string
- func IntToHex(num int64) []byte
- func Walk(dir string) ([]os.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvToString ¶
EnvToString convert env variable to string
func GenerateRandomString ¶
GenerateRandomString return random string with length len
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.