(id ID)
| 142 | } |
| 143 | |
| 144 | func (q *Queue) uri(id ID) *storage.URI { |
| 145 | return q.path.JoinPath(fmt.Sprintf("%d.%s", id, ext)) |
| 146 | } |
| 147 | |
| 148 | func (q *Queue) Load(ctx context.Context, id ID) ([]byte, error) { |
| 149 | return storage.Get(ctx, q.engine, q.uri(id)) |
no test coverage detected