diff --git a/setting/setting.go b/setting/setting.go index 95a3ab2..c7b5bd8 100644 --- a/setting/setting.go +++ b/setting/setting.go @@ -35,3 +35,7 @@ func IsStaging() bool { func IsProduction() bool { return env("APP_ENV", "dev") == "production" } + +func IsTesting() bool { + return env("APP_ENV", "dev") == "testing" +}