init
This commit is contained in:
1 parent
eb2c8fea64
commit
17a671a417
21 files changed
+560
-73
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package handler
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type Handler struct {
|
||||
DB *gorm.DB
|
||||
}
|
||||
|
||||
func NewHandler(db *gorm.DB) *Handler {
|
||||
return &Handler{
|
||||
DB: db,
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user