From ca1c6c59c6581a64a0fce41873acd2162bdd2b6b 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 8cbdde86769..50fea805a60 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 ./...