Documentation
¶
Index ¶
- func GetEnv(key string) string
- func IsDevelopment(strict bool) bool
- func IsIntegration(strict bool) bool
- func IsProduction(strict bool) bool
- func IsStaging(strict bool) bool
- func IsStrFormat(input string) bool
- func IsTest() bool
- func MustGetEnv(key string) string
- func Sha256(message string) string
- func TernaryAny(comparison bool, isTrue any, isFalse any) any
- func TernaryByte(comparison bool, isTrue []byte, isFalse []byte) []byte
- func TernaryFloat(comparison bool, isTrue float64, isFalse float64) float64
- func TernaryInt(comparison bool, isTrue int, isFalse int) int
- func TernaryInt64(comparison bool, isTrue int64, isFalse int64) int64
- func TernaryStr(comparison bool, isTrue string, isFalse string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDevelopment ¶
func IsIntegration ¶
func IsProduction ¶
func IsStrFormat ¶
func MustGetEnv ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.