GetRepository is the resolver for the getRepository field.
(ctx context.Context, id string)
| 92 | |
| 93 | // GetRepository is the resolver for the getRepository field. |
| 94 | func (r *queryResolver) GetRepository(ctx context.Context, id string) (*model.Repository, error) { |
| 95 | return repositories.Get(ctx, id) |
| 96 | } |
| 97 | |
| 98 | // Storages is the resolver for the storages field. |
| 99 | func (r *queryResolver) Storages(ctx context.Context) ([]*model.Storage, error) { |