Store stores v to the database held by the context.
(ctx context.Context, v interface{})
| 42 | |
| 43 | // Store stores v to the database held by the context. |
| 44 | func Store(ctx context.Context, v interface{}) (id.ID, error) { |
| 45 | return Get(ctx).Store(ctx, v) |
| 46 | } |
| 47 | |
| 48 | // Resolve resolves id with the database held by the context. |
| 49 | func Resolve(ctx context.Context, id id.ID) (interface{}, error) { |
no test coverage detected