Files
ent/examples/start
eiixy 21ecfa0872 entc: update groupReceiver and selectReceiver (#4395)
* update GroupReceiver and SelectReceiver

* update examples

* update entc/integration generated code

* Update entc/gen/type.go

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>

---------

Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
2025-05-23 15:20:27 +07:00
..
2023-04-06 12:50:36 +03:00

Getting Started Example

The example from the getting-started page in https://entgo.io.

Generate Assets

go generate ./...

Generate Migration Files

atlas migrate diff migration_name \
  --dir "file://ent/migrate/migrations" \
  --to "ent://ent/schema" \
  --dev-url "sqlite://file?mode=memory&_fk=1"