Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Mask ¶
Mask replaces every other 4 runes of a string with an 4 '****' runes. Ideal to mask sensitive data, like credit cards or social security numbers.
func MustGetEnv ¶
MustGetEnv retrieves the provided environment variable value, and panics if not found.
func MustGetEnvs ¶
MustGetEnvs retrieves the provided environment variables values, and panics if any is not found.
func RandString ¶
RandString generates a random string formed by upper/lower cased characters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.