BrainMinder/models/constructors.go

14 lines
282 B
Go
Raw Normal View History

2024-08-22 10:13:16 +02:00
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}}
}