Documentation
¶
Overview ¶
genmeta generates table and column name constants from GORM model structs. Everything is derived from the models.go AST: struct names, field names, and struct tags. 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.