Skip to content

Commit

Permalink
✨ IsTesting
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed Mar 7, 2024
1 parent b89a828 commit b29205e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setting/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit b29205e

Please sign in to comment.