Skip to content

Commit

Permalink
Update quickstart (#1850)
Browse files Browse the repository at this point in the history
  • Loading branch information
ipfans authored Jan 25, 2022
1 parent a8eba26 commit 0ab6361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
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

0 comments on commit 0ab6361

Please sign in to comment.