Skip to content

Commit

Permalink
Update associations.md (#808)
Browse files Browse the repository at this point in the history
Typo
  • Loading branch information
spinales authored Jan 4, 2025
1 parent 21e26ee commit 05e1341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/gen/associations.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ customer := g.GenerateModel("customers", gen.FieldRelate(field.HasMany, "CreditC
}),
)

g.ApplyBasic(card, custormer)
g.ApplyBasic(card, customer)
```

GEN will generate models with associated field:
Expand Down

0 comments on commit 05e1341

Please sign in to comment.