features/bootstrapping #1
@ -10,7 +10,6 @@ import (
|
|||||||
type Configs struct {
|
type Configs struct {
|
||||||
ServerAddress string
|
ServerAddress string
|
||||||
JwtSecret string
|
JwtSecret string
|
||||||
AdminSecret string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func New() Configs {
|
func New() Configs {
|
||||||
@ -23,7 +22,6 @@ func getEnvConfig() Configs {
|
|||||||
return Configs{
|
return Configs{
|
||||||
ServerAddress: os.Getenv("ServerAddress"),
|
ServerAddress: os.Getenv("ServerAddress"),
|
||||||
JwtSecret: os.Getenv("JwtSecret"),
|
JwtSecret: os.Getenv("JwtSecret"),
|
||||||
AdminSecret: os.Getenv("AdminSecret"),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user