Versions in this module Expand all Collapse all v0 v0.1.1 Aug 24, 2023 Changes in this version + 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