Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mtibben committed Sep 15, 2021
1 parent cacd49a commit b938e55
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,7 @@ Still not convinced enough to use **gqlgen**? Compare **gqlgen** with other Go g

2. Add gqlgen to your [project's tools.go](https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module)

cat <<EOD > tools.go
// +build tools
package tools
import (
_ "github.com/99designs/gqlgen"
)
EOD
printf '// +build tools\npackage tools\nimport _ "github.com/99designs/gqlgen"' | gofmt > tools.go
go mod tidy

3. Initialise gqlgen config and generate models
Expand Down

0 comments on commit b938e55

Please sign in to comment.