Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CommonAcronyms = map[string]string{
"id": "ID",
"api": "API",
"http": "HTTP",
"https": "HTTPS",
"url": "URL",
"uri": "URI",
"uuid": "UUID",
"sql": "SQL",
"json": "JSON",
"xml": "XML",
"html": "HTML",
"css": "CSS",
"rpc": "RPC",
"rest": "REST",
"tcp": "TCP",
"udp": "UDP",
"ip": "IP",
"db": "DB",
"ui": "UI",
"ux": "UX",
"io": "IO",
"os": "OS",
"cpu": "CPU",
"gpu": "GPU",
"ram": "RAM",
"ascii": "ASCII",
"utf": "UTF",
"oauth": "OAuth",
"jwt": "JWT",
"ssl": "SSL",
"tls": "TLS",
"ssh": "SSH",
"ftp": "FTP",
"dns": "DNS",
"smtp": "SMTP",
"imap": "IMAP",
"pop": "POP",
"grpc": "GRPC",
"cors": "CORS",
"csrf": "CSRF",
"xss": "XSS",
}
CommonAcronyms is a lookup table of commonly used acronyms that should be uppercased
Functions ¶
func SplitWords ¶
SplitWords splits a string into words based on delimiters and case transitions
func ToCamelCase ¶
ToCamelCase converts a string to camelCase with proper acronym handling
func ToPascalCase ¶
ToPascalCase converts a string to PascalCase with proper acronym handling
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.