Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelToSnake ¶
CamelToSnake converts CamelCase to snake_case.
func FieldColumnName ¶
func FieldColumnName(f reflect.StructField) string
FieldColumnName returns the column name for a struct field by checking db, neat, gorm tags (in that order), then falling back to snake_case of the field name.
This is the single source of truth for struct→column name resolution, shared by the query builder and the array source helper.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.