mirror of
https://github.com/ent/ent.git
synced 2026-04-30 22:50:54 +03:00
s/GitHab/GitHub/
Summary: Pull Request resolved: https://github.com/facebookincubator/ent/pull/50 Differential Revision: D17737109 Pulled By: a8m fbshipit-source-id: 6af5482259ed3402e8bdb21b4226361c4f46dc8d
This commit is contained in:
committed by
Facebook Github Bot
parent
1750d33bd8
commit
50637b439e
@@ -496,7 +496,7 @@ func CreateGraph(ctx context.Context, client *ent.Client) error {
|
||||
}
|
||||
_, err = client.Group.
|
||||
Create().
|
||||
SetName("GitHab").
|
||||
SetName("GitHub").
|
||||
AddUsers(a8m).
|
||||
Save(ctx)
|
||||
if err != nil {
|
||||
@@ -509,7 +509,7 @@ func CreateGraph(ctx context.Context, client *ent.Client) error {
|
||||
|
||||
Now when we have a graph with data, we can run a few queries on it:
|
||||
|
||||
1. Get all user's cars within the group named "Github":
|
||||
1. Get all user's cars within the group named "GitHub":
|
||||
|
||||
```go
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user