parent
a2bb0bea2d
commit
42c28f2b6d
@ -26,7 +26,7 @@ var (
|
|||||||
dataBucket = "data"
|
dataBucket = "data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NewStore returns a memory store
|
// NewStore returns a file store
|
||||||
func NewStore(opts ...store.Option) store.Store {
|
func NewStore(opts ...store.Option) store.Store {
|
||||||
s := &fileStore{}
|
s := &fileStore{}
|
||||||
s.init(opts...)
|
s.init(opts...)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Package store is an interface for distributed data storage.
|
// Package store is an interface for distributed data storage.
|
||||||
// The design document is located at https://github.com/micro/development/blob/master/design/store.md
|
// The design document is located at https://github.com/micro/development/blob/master/design/framework/store.md
|
||||||
package store
|
package store
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
Reference in New Issue
Block a user