store: remove unused Value type
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
5b6f849e0a
commit
1f8b0aeb61
@ -5,8 +5,6 @@ package store
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/unistack-org/micro/v3/metadata"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -42,12 +40,3 @@ type Store interface {
|
|||||||
// String returns the name of the implementation.
|
// String returns the name of the implementation.
|
||||||
String() string
|
String() string
|
||||||
}
|
}
|
||||||
|
|
||||||
// Value is an item stored or retrieved from a Store
|
|
||||||
// may be used in store implementations to provide metadata
|
|
||||||
type Value struct {
|
|
||||||
// Data holds underline struct
|
|
||||||
Data interface{} `json:"data"`
|
|
||||||
// Metadata associated with data for indexing
|
|
||||||
Metadata metadata.Metadata `json:"metadata"`
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user