diff --git a/docs/content/getting-started.md b/docs/content/getting-started.md index cea5c11f17a..bb662771998 100644 --- a/docs/content/getting-started.md +++ b/docs/content/getting-started.md @@ -209,6 +209,9 @@ type Todo struct { And run `go run github.com/99designs/gqlgen generate`. +> +> If you run into this error `package github.com/99designs/gqlgen: no Go files` while executing the `generate` command above, follow the instructions in [this](https://github.com/99designs/gqlgen/issues/800#issuecomment-888908950) comment for a possible solution. + Now if we look in `graph/schema.resolvers.go` we can see a new resolver, lets implement it and fix `CreateTodo`. ```go func (r *mutationResolver) CreateTodo(ctx context.Context, input model.NewTodo) (*model.Todo, error) {