Documentation ¶
Index ¶
- func ArrayContainsString(s *[]string, str string) bool
- func FetchEnvVar(envName string) string
- func FetchEnvVarAsInt16(envName string) int16
- func FetchEnvVarAsInt64(envName string) int64
- func FetchEnvVarAsTime(envName string, layout string) time.Time
- func GenerateUUID() uuid.UUID
- func RandomString(n int) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayContainsString ¶
ArrayContainsString - check if an array of string contains a given string.
func FetchEnvVarAsInt16 ¶
FetchEnvVarAsInt16 - fetch env var as int16.
func FetchEnvVarAsInt64 ¶
FetchEnvVarAsInt64 - fetch env var as int64.
func FetchEnvVarAsTime ¶
FetchEnvVarAsTime - fetch evn var as time.
func RandomString ¶
RandomString - Generate a random string of a given length.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.