Repositories is the resolver for the repositories field.
(ctx context.Context)
| 87 | |
| 88 | // Repositories is the resolver for the repositories field. |
| 89 | func (r *queryResolver) Repositories(ctx context.Context) ([]*model.Repository, error) { |
| 90 | return repositories.List(ctx) |
| 91 | } |
| 92 | |
| 93 | // GetRepository is the resolver for the getRepository field. |
| 94 | func (r *queryResolver) GetRepository(ctx context.Context, id string) (*model.Repository, error) { |