8000 doc/md: fix package name breaking generate by broody · Pull Request #2922 · ent/ent · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

doc/md: fix package name breaking generate #2922

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/md/tutorial-todo-gql.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
[Relay Node Interface](https://relay.dev/graphql/objectidentification.htm) and learn how Ent automatically supports this.
0