Documentation
¶
Overview ¶
genmeta generates table/column name constants and per-table extractable column metadata from GORM model structs. Everything is derived from the models.go AST: struct names, field names, struct tags, and field types. The generator does NOT import the data package -- it reads the source text and applies GORM's NamingStrategy for table/column name conversion.
Usage: go generate ./internal/data/
Click to show internal directories.
Click to hide internal directories.