INNER CODE UNIT · Go
func
sy-vendor/Gobi · config/config.go:653
func (c *Config) IsDevelopment() bool {
return getEnvironment() == "dev"
}
func (c *Config) IsProduction() bool {
return getEnvironment() == "prod"
}
func (c *Config) IsTest() bool {
return getEnvironment() == "test"
}
func (c *Config) GetDatabaseDSN() string {
return c.Database.DSN
}
func (c *Config) GetJWTSecret() string {
return c.JWT.Secret