store: remove unused Value type

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-04-22 00:56:53 +03:00
parent 5b6f849e0a
commit 1f8b0aeb61

View File

@ -5,8 +5,6 @@ package store
import (
"context"
"errors"
"github.com/unistack-org/micro/v3/metadata"
)
var (
@ -42,12 +40,3 @@ type Store interface {
// String returns the name of the implementation.
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"`
}