mirror of
https://github.com/ent/ent.git
synced 2026-04-28 05:30:56 +03:00
doc: fix typos in tutorial (#3445)
Co-authored-by: yoseplee <yoseplee@linecorp.com>
This commit is contained in:
@@ -533,7 +533,7 @@ func CreateGraph(ctx context.Context, client *ent.Client) error {
|
||||
Create().
|
||||
SetModel("Ford").
|
||||
SetRegisteredAt(time.Now()).
|
||||
// Attach this graph to Neta.
|
||||
// Attach this car to Neta.
|
||||
SetOwner(neta).
|
||||
Exec(ctx)
|
||||
if err != nil {
|
||||
|
||||
@@ -200,7 +200,7 @@ func CreateGraph(ctx context.Context, client *ent.Client) error {
|
||||
Create().
|
||||
SetModel("Ford").
|
||||
SetRegisteredAt(time.Now()).
|
||||
// Attach this cat to Neta.
|
||||
// Attach this car to Neta.
|
||||
SetOwner(neta).
|
||||
Exec(ctx)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user