Shutdown gracefully, close DB connection

This commit is contained in:
Deluan
2022-11-21 12:14:06 -05:00
parent 5f3f7afb90
commit cd41d9a419
7 changed files with 163 additions and 111 deletions
+1 -2
View File
@@ -32,7 +32,6 @@ require (
github.com/mattn/go-zglob v0.0.3
github.com/microcosm-cc/bluemonday v1.0.20
github.com/mileusna/useragent v1.2.1
github.com/oklog/run v1.1.0
github.com/onsi/ginkgo/v2 v2.2.0
github.com/onsi/gomega v1.20.2
github.com/pressly/goose v2.7.0+incompatible
@@ -45,6 +44,7 @@ require (
github.com/unrolled/secure v1.13.0
github.com/xrash/smetrics v0.0.0-20200730060457-89a2a8a1fb0b
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
golang.org/x/text v0.3.7
golang.org/x/tools v0.1.12
)
@@ -229,7 +229,6 @@ require (
golang.org/x/exp/typeparams v0.0.0-20220613132600-b0d781184e0d // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b // indirect
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect