Changed: DB Params

This commit is contained in:
2025-03-20 12:35:13 +01:00
parent 8640a12439
commit b71b3d12ca
822 changed files with 134218 additions and 0 deletions

3
handlers/go.mod Normal file
View File

@@ -0,0 +1,3 @@
module handlers
go 1.24.1

11
handlers/handler.go Normal file
View File

@@ -0,0 +1,11 @@
package handlers
import "gorm.io/gorm"
type handler struct {
DB *gorm.DB
}
func New(db *gorm.DB) handler {
return handler{db}
}