Use go.uber.com/fx for bootstrapping the app
This commit is contained in:
parent
02f4a881a9
commit
9d3232f00a
8 changed files with 144 additions and 59 deletions
12
go.mod
12
go.mod
|
@ -3,12 +3,18 @@ module github.com/codemicro/palmatum
|
|||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/google/uuid v1.6.0
|
||||
github.com/jmoiron/sqlx v1.4.0
|
||||
github.com/julienschmidt/httprouter v1.3.0
|
||||
github.com/mattn/go-sqlite3 v1.14.24
|
||||
go.akpain.net/cfger v0.2.1
|
||||
golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b
|
||||
gopkg.in/yaml.v3 v3.0.1
|
||||
go.uber.org/fx v1.23.0
|
||||
)
|
||||
|
||||
require github.com/google/uuid v1.6.0 // indirect
|
||||
require (
|
||||
go.uber.org/dig v1.18.0 // indirect
|
||||
go.uber.org/multierr v1.10.0 // indirect
|
||||
go.uber.org/zap v1.26.0 // indirect
|
||||
golang.org/x/sys v0.1.0 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue