Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToSnakeCase ¶
ToSnakeCase converts a string to snake case, used for converting struct name to snake_case
Types ¶
type NamerFn ¶
NamerFn function type is used set table naming function to build table name from struct's name
func SnakePlural ¶
func SnakePlural() NamerFn
SnakePlural builds table name from struct's name in plural snake format
Click to show internal directories.
Click to hide internal directories.