Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelToSnake ¶
CamelToSnake converts a CamelCase string to snake_case. Consecutive uppercase letters (acronyms) are kept together: "ID" → "id", "UserID" → "user_id", "CreatedAt" → "created_at".
func SnakeToCamel ¶
SnakeToCamel converts a snake_case string to CamelCase. Common acronyms are fully uppercased: "user_id" → "UserID", "created_at" → "CreatedAt", "id" → "ID".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.