crud implemented
This commit is contained in:
parent
78cb709bd7
commit
8bc961e1be
8 changed files with 149 additions and 13 deletions
|
|
@ -9,6 +9,7 @@ type AppConfig struct {
|
|||
HttpPort string
|
||||
GrpcPort string
|
||||
Domain string
|
||||
Volume string
|
||||
LogLevel string
|
||||
}
|
||||
|
||||
|
|
@ -19,6 +20,7 @@ func NewConfig() *Config {
|
|||
HttpPort: getEnv("HTTP_PORT", ""),
|
||||
GrpcPort: getEnv("GRPC_PORT", ""),
|
||||
Domain: getEnv("DOMAIN", ""),
|
||||
Volume: getEnv("VOLUME", ""),
|
||||
LogLevel: getEnv("LOG_LEVEL", ""),
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue