memos/store/store.go

14 lines
195 B
Go
Raw Normal View History

2022-05-16 07:37:23 +08:00
package store
// Store provides database access to all raw objects
type Store struct {
db *DB
}
// New creates a new instance of Store
func New(db *DB) *Store {
return &Store{
db: db,
}
}