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", "OAuth" → "oauth".
func SnakeToCamel ¶
SnakeToCamel converts a snake_case string to CamelCase. Common initialisms use their Go-idiomatic form: "user_id" → "UserID", "oauth_token" → "OAuthToken".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.