Refactored models code to follow a better approach for opening and closing the database connection
This commit is contained in:
8
go.mod
8
go.mod
@ -7,8 +7,8 @@ require (
|
||||
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
||||
github.com/charmbracelet/lipgloss v0.7.1 // indirect
|
||||
github.com/charmbracelet/log v0.2.3 // indirect
|
||||
github.com/flamego/flamego v1.9.4 // indirect
|
||||
github.com/flamego/template v1.2.2 // indirect
|
||||
github.com/flamego/flamego v1.9.4
|
||||
github.com/flamego/template v1.2.2
|
||||
github.com/go-logfmt/logfmt v0.6.0 // indirect
|
||||
github.com/jinzhu/inflection v1.0.0 // indirect
|
||||
github.com/jinzhu/now v1.1.5 // indirect
|
||||
@ -21,6 +21,6 @@ require (
|
||||
github.com/pkg/errors v0.9.1 // indirect
|
||||
github.com/rivo/uniseg v0.2.0 // indirect
|
||||
golang.org/x/sys v0.7.0 // indirect
|
||||
gorm.io/driver/sqlite v1.5.4 // indirect
|
||||
gorm.io/gorm v1.25.5 // indirect
|
||||
gorm.io/driver/sqlite v1.5.4
|
||||
gorm.io/gorm v1.25.5
|
||||
)
|
||||
|
Reference in New Issue
Block a user