Skip to content

Commit

Permalink
fomatted query indent
Browse files Browse the repository at this point in the history
  • Loading branch information
fmyd committed Jan 28, 2021
1 parent 997da42 commit 02b1400
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/content/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ go run server.go
then open http://localhost:8080 in a browser. here are some queries to try:
```graphql
mutation createTodo {
createTodo(input:{text:"todo", userId:"1"}) {
createTodo(input: { text: "todo", userId: "1" }) {
user {
id
}
Expand All @@ -146,13 +146,13 @@ mutation createTodo {
}

query findTodos {
todos {
text
done
user {
name
}
todos {
text
done
user {
name
}
}
}
```

Expand Down Expand Up @@ -205,7 +205,7 @@ At the top of our `resolver.go`, between `package` and `import`, add the followi
//go:generate go run github.com/99designs/gqlgen
```

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:
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 ./...
Expand Down

0 comments on commit 02b1400

Please sign in to comment.