mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 00:51:30 +03:00
14 lines
195 B
Go
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,
|
|
}
|
|
}
|