mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-29 18:51:22 +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}
|
||
|
}
|