Documentation
¶
Overview ¶
Package snaker provides methods to convert CamelCase names to snake_case and back.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelToSnake ¶
CamelToSnake converts a given string to snake case 将输入的 CamelCase 字符串转换为 snake_case 格式
func SnakeToCamel ¶
SnakeToCamel returns a string converted from snake case to uppercase 将 snake_case 格式的字符串转换为首字母大写的 CamelCase 格式
func SnakeToCamelLower ¶
SnakeToCamelLower returns a string converted from snake case to lowercase 将 snake_case 格式的字符串转换为首字母小写的 camelCase 格式
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.