xxjwxc/gormt
Some data may be outdated — see provenance labels.
database to golang struct observed · 2026-10-04
Health v2 · maintenance only
60/100
- Activity 83
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2725
- days_rel: n/a
- days_push: 102
- n_releases_24m: 0
Adoption not part of the score
2425 stars · 361 forks observed · 2026-10-04
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
gormt is a Go tool that connects to a MySQL (and optionally SQLite/MSSQL) database and automatically generates Golang struct definitions compatible with gorm v1/v2, including JSON tags, foreign keys, and helper functions. It offers both a command-line mode and a GUI mode, configured via a config.yml file or CLI flags.
Use cases
- generate golang structs from mysql database tables
- create gorm models from an existing database schema
- reverse engineer mysql schema into go structs with tags
- generate model files with foreign key and index annotations
- scaffold gorm model code for a legacy database
- export database tables to big camel-case go structs
When to choose
- you use gorm in Go and need models generated from an existing MySQL schema
- you want automatic JSON tags, foreign keys, and helper functions in generated structs
- you prefer a tool with both CLI and GUI operation
When to avoid
- your database is not MySQL/SQLite/MSSQL (e.g. PostgreSQL)
- you use a different ORM than gorm or db tags
- you need runtime ORM functionality rather than code generation
Facets
cli-tool · maturity active
orm database developer-tools developer-tools databases backend go cli cross-platform gorm mysql struct-generation code-generator gui-mode code-generation
2 sources
- readme: https://github.com/xxjwxc/gormt · fetched 2026-10-04 · 17a1fcf7c687
- homepage: https://xxjwxc.github.io/post/gormt/ · fetched 2026-08-29 · 176b37869da3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| xxjwxc/gormt | main | 60 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem