1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-08-10 21:52:01 +02:00

fix broken links

This commit is contained in:
Asim Aslam
2019-06-12 07:50:04 +01:00
parent a5412dd4a0
commit 7a1cef46b0
3 changed files with 16 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
package sync
import (
"github.com/micro/go-micro/data"
"github.com/micro/go-micro/store"
"github.com/micro/go-micro/sync/leader"
"github.com/micro/go-micro/sync/lock"
"github.com/micro/go-micro/sync/time"
@@ -21,10 +21,10 @@ func WithLock(l lock.Lock) Option {
}
}
// WithData sets the data implementation option
func WithData(s data.Data) Option {
// WithStore sets the store implementation option
func WithStore(s store.Store) Option {
return func(o *Options) {
o.Data = s
o.Store = s
}
}