Skip to content

Commit

Permalink
Merge pull request #1061 from halvdan/patch-1
Browse files Browse the repository at this point in the history
Fix mismatching documentation of Todo struct
  • Loading branch information
vektah authored Feb 22, 2020
2 parents a53ce37 + 1388fa9 commit e57cd44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/content/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ Create a new file called `graph/model/todo.go`
package model

type Todo struct {
ID string `json:"id"`
Text string `json:"text"`
Done bool `json:"done"`
UserId int `json:"user"`
ID string `json:"id"`
Text string `json:"text"`
Done bool `json:"done"`
UserID string `json:"user"`
}
```

Expand Down

0 comments on commit e57cd44

Please sign in to comment.