mirror of
https://github.com/usememos/memos.git
synced 2024-12-24 11:44:44 +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,
|
||
|
}
|
||
|
}
|