14 lines
282 B
Go
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}}
|
||
|
}
|