BrainMinder/models/constructors.go
2024-08-22 10:13:16 +02:00

14 lines
282 B
Go

package models
import (
"brainminder.speedtech.it/internal/database"
)
func NewQuicknoteModel(db *database.DB) *QuicknoteModel {
return &QuicknoteModel{BaseModel: &BaseModel{db}}
}
func NewItemModel(db *database.DB) *ItemModel {
return &ItemModel{BaseModel: &BaseModel{db}}
}