structref

package
v0.43.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelToSnake

func CamelToSnake(s string) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL