Skip to content

Commit

Permalink
fix typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vektah committed Aug 7, 2019
1 parent da1c208 commit bcddd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ models:

After doing either of the above and running generate we will need to provide a resolver for friends:
```go
func (r *userResolver) User(ctx context.Context, obj *User) ([]*User, error) {
func (r *userResolver) Friends(ctx context.Context, obj *User) ([]*User, error) {
// select * from user where friendid = obj.ID
return friends, nil
}
Expand Down

0 comments on commit bcddd7a

Please sign in to comment.