-
-
Notifications
You must be signed in to change notification settings - Fork 8
Django / GORM exporter 완결성 보완 #169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 34 commits
de1ec36
26d9a9b
dce9edf
b544ba0
965472c
8aca2aa
1e9729f
4f538b8
0d3ab08
831633d
7769c36
310e91e
4c1be50
cc2114c
e85d6cc
84cc342
af5d986
b31bd78
8bdd516
584b04b
29eb380
a573bfe
510e868
0c2a0a3
e135c4d
8a0754e
cde7a34
101c7b5
cdba876
9fa9bfd
5e7e4d3
8b1a800
593e1d5
6391691
4f14e21
79e96f2
461fb90
cb591ac
98f30ee
5cb7551
ea8a74d
2c3ec0d
a57856d
2d4d8f9
db1fb1d
e023e93
9bf4474
be24f95
e2a94d4
8736469
9a7feb8
d28a242
2512f36
016a6a9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to this project will be documented in this file. | ||
|
|
||
| ## [Unreleased] | ||
|
|
||
| ### Added | ||
|
|
||
| - GORM exporter (`--orm gorm`): generates Go structs with GORM tags from schema definitions | ||
| - Full type mapping: all SQL types to Go equivalents (`int32`, `int64`, `float32`, `float64`, `string`, `bool`, `time.Time`, `uuid.UUID`, `datatypes.JSON`, `decimal.Decimal`, etc.) | ||
| - String and integer enum support with Go type aliases and `const` blocks | ||
| - Foreign key relations with `foreignKey` and `constraint` tags | ||
| - Reverse (HasMany) relations when schema context is provided | ||
| - Composite primary keys, unique indexes, and named indexes | ||
| - `TableName()` method generated when table name differs from GORM convention | ||
| - Smart import generation (only includes `time`, `gorm.io/datatypes`, `github.com/google/uuid`, `github.com/shopspring/decimal` when needed) |
|
2heunxun marked this conversation as resolved.
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| @AGENTS.md | ||
| @AGENTS.md |
Uh oh!
There was an error while loading. Please reload this page.