1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00
pasty/internal/meta/metadata.go
2023-06-08 19:55:43 +02:00

15 lines
223 B
Go

package meta
import "strings"
const devEnvironmentName = "dev"
var (
Environment = devEnvironmentName
Version = "dev"
)
func IsProdEnvironment() bool {
return strings.ToLower(Environment) != devEnvironmentName
}