AddRepository is the resolver for the addRepository field.
(ctx context.Context, input model.AddRepositoryInput)
| 32 | |
| 33 | // AddRepository is the resolver for the addRepository field. |
| 34 | func (r *mutationResolver) AddRepository(ctx context.Context, input model.AddRepositoryInput) (*model.Repository, error) { |
| 35 | return repositories.Add(ctx, input) |
| 36 | } |
| 37 | |
| 38 | // DeleteRepository is the resolver for the deleteRepository field. |
| 39 | func (r *mutationResolver) DeleteRepository(ctx context.Context, id string) (*model.Repository, error) { |