fix: config json and env tag
This commit is contained in:
@ -28,8 +28,8 @@ type Config struct {
|
|||||||
Address string `json:"address" env:"ADDR"`
|
Address string `json:"address" env:"ADDR"`
|
||||||
Port int `json:"port" env:"PORT"`
|
Port int `json:"port" env:"PORT"`
|
||||||
Assets string `json:"assets" env:"ASSETS"`
|
Assets string `json:"assets" env:"ASSETS"`
|
||||||
LocalAssets string `json:"localassets" env:"LOCALASSETS"`
|
LocalAssets string `json:"local_assets" env:"LOCAL_ASSETS"`
|
||||||
SubFolder string `json:"subfolder" env:"SUBFOLDER"`
|
SubFolder string `json:"sub_folder" env:"SUB_FOLDER"`
|
||||||
Database Database `json:"database"`
|
Database Database `json:"database"`
|
||||||
Scheme Scheme `json:"scheme"`
|
Scheme Scheme `json:"scheme"`
|
||||||
Cache CacheConfig `json:"cache"`
|
Cache CacheConfig `json:"cache"`
|
||||||
|
Reference in New Issue
Block a user