Skip to content

Commit

Permalink
Clean up docs to clarify how to use a particular version (#2015)
Browse files Browse the repository at this point in the history
* Revert "Remove outdated version reference so example is always for latest (#1851)"

This reverts commit 57a148f.

* Update getting-started.md

* Update getting-started.md
  • Loading branch information
mtibben authored Mar 1, 2022
1 parent 3a9413f commit 45e192e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/content/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ To automatically add the dependency to your `go.mod` run
go mod tidy
```

If you want to specify a particular version of gqlgen, you can use `go get`. For example
By default you'll be using the latest version of gqlgen, but if you want to specify a particular version you can use `go get` (replacing `VERSION` with the particular version desired)
```shell
go get -d github.com/99designs/gqlgen
go get -d github.com/99designs/gqlgen@VERSION
```



## Building the server

### Create the project skeleton
Expand Down

0 comments on commit 45e192e

Please sign in to comment.