Files
ent/examples/start
Giau. Tran Minh ce61476d6d entc/gen/template: remove receiver conflict handling logic (#4356)
* examples: ensure tests is stable

* entc/gen/template: remove receiver conflict handling logic

* examples: codegen

* entc/integration: codegen
2025-03-19 15:35:03 +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"