Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update quickstart #1850

Merged
merged 1 commit into from
Jan 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Still not convinced enough to use **gqlgen**? Compare **gqlgen** with other Go g
3. Initialise gqlgen config and generate models

go run github.com/99designs/gqlgen init
printf 'package model' | gofmt > graph/model/doc.go

4. Start the graphql server

Expand Down
1 change: 1 addition & 0 deletions docs/content/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ go get -d github.com/99designs/gqlgen@v0.14.0

```shell
go run github.com/99designs/gqlgen init
printf 'package model' | gofmt > graph/model/doc.go
```

This will create our suggested package layout. You can modify these paths in gqlgen.yml if you need to.
Expand Down