From b938e55811966ef5ff96cc911597327af92c493c Mon Sep 17 00:00:00 2001 From: Michael Tibben Date: Wed, 15 Sep 2021 19:18:09 +1000 Subject: [PATCH] Update README.md --- README.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/README.md b/README.md index 8f3fd8c2097..03e0fdafe89 100644 --- a/README.md +++ b/README.md @@ -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 < 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