mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-29 10:41:19 +00:00
12 lines
155 B
Go
12 lines
155 B
Go
|
package pages
|
||
|
|
||
|
import "gorm.io/gorm"
|
||
|
|
||
|
type PageHandler struct {
|
||
|
db *gorm.DB
|
||
|
}
|
||
|
|
||
|
func NewPageHandler(db *gorm.DB) *PageHandler {
|
||
|
return &PageHandler{db}
|
||
|
}
|