memos/store/store.go
2022-05-16 07:37:23 +08:00

14 lines
195 B
Go

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,
}
}