From b9fbb642f1f90bf8b173cfabdfc88d24ec36344d Mon Sep 17 00:00:00 2001 From: Mathew Byrne Date: Tue, 13 Nov 2018 10:51:36 +1100 Subject: [PATCH] Mention recursive-ness of generate ./... --- docs/content/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/getting-started.md b/docs/content/getting-started.md index f4a5769a08..a3a84d4b3c 100644 --- a/docs/content/getting-started.md +++ b/docs/content/getting-started.md @@ -281,7 +281,7 @@ At the top of our `resolvers.go` add the following line: //go:generate go run scripts/gqlgen.go -v ``` -This magic comment tells `go generate` what command to run when we want to regenerate our code. You can now run any generation commands for your project with: +This magic comment tells `go generate` what command to run when we want to regenerate our code. To run go generate recursively over your entire project, use this command: ```go go generate ./...