store: remove unused Value type
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
		| @@ -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"` | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user