From 5ce4b734688ecd2bb51f96fcb3c4c9c5e7450d15 Mon Sep 17 00:00:00 2001 From: broody Date: Sat, 10 Sep 2022 22:46:01 -0700 Subject: [PATCH] doc/md: fix package name breaking generate --- doc/md/tutorial-todo-gql.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/md/tutorial-todo-gql.mdx b/doc/md/tutorial-todo-gql.mdx index 70511b4f52..232df117f8 100755 --- a/doc/md/tutorial-todo-gql.mdx +++ b/doc/md/tutorial-todo-gql.mdx @@ -99,7 +99,7 @@ file. contents. In next steps, `gqlgen` commands will be added to this file as well. ```go title="generate.go" -package ent +package todo //go:generate go run -mod=mod ./ent/entc.go ``` @@ -215,7 +215,7 @@ func main() { 4\. Add the `gqlgen` generate command to the `generate.go` file: ```go title="generate.go" -package ent +package todo //go:generate go run -mod=mod ./ent/entc.go //highlight-next-line @@ -504,4 +504,4 @@ example repository. --- Please continue to the next section where we explain how to implement the -[Relay Node Interface](https://relay.dev/graphql/objectidentification.htm) and learn how Ent automatically supports this. \ No newline at end of file +[Relay Node Interface](https://relay.dev/graphql/objectidentification.htm) and learn how Ent automatically supports this.