fix(configs): refactor config loader to read default, db, configs, args in order

This commit is contained in:
hexxa 2022-04-02 15:38:59 +08:00 committed by Hexxa
parent 86b2672b01
commit 2f6aa33108
6 changed files with 113 additions and 45 deletions

2
go.mod
View file

@ -10,7 +10,7 @@ require (
github.com/gin-gonic/gin v1.7.3
github.com/go-playground/validator/v10 v10.9.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/ihexxa/gocfg v0.0.0-20220128082538-9e607ebed51b
github.com/ihexxa/gocfg v0.0.1
github.com/ihexxa/multipart v0.0.0-20210916083128-8584a3f00d1d
github.com/jessevdk/go-flags v1.4.0
github.com/json-iterator/go v1.1.11 // indirect