DeleteModel is the resolver for the deleteModel field.
(ctx context.Context, id string)
| 27 | |
| 28 | // DeleteModel is the resolver for the deleteModel field. |
| 29 | func (r *mutationResolver) DeleteModel(ctx context.Context, id string) (*model.Model, error) { |
| 30 | return models.Delete(ctx, id) |
| 31 | } |
| 32 | |
| 33 | // AddRepository is the resolver for the addRepository field. |
| 34 | func (r *mutationResolver) AddRepository(ctx context.Context, input model.AddRepositoryInput) (*model.Repository, error) { |