Documentation ¶
Index ¶
- Variables
- func Add(y, x int) int
- func ContainsString(collection []string, element string) bool
- func CopyFile(src, dist string) error
- func FirstLower(str string) string
- func FirstUpper(str string) string
- func GetLength(slice any) int
- func GonicCase(str string) string
- func IsIDEmpty(id any) bool
- func IsLastIndex(idx int, s any) bool
- func LineString(str string) string
- func SnakeCase(str string) string
- func Sub(y, x int) int
- func TitleCase(str string) string
- func ToString(src any) string
Constants ¶
This section is empty.
Variables ¶
View Source
var LintGonicMapper = map[string]bool{ "API": true, "ASCII": true, "CPU": true, "CSS": true, "DNS": true, "EOF": true, "GUID": true, "HTML": true, "HTTP": true, "HTTPS": true, "ID": true, "IP": true, "JSON": true, "LHS": true, "QPS": true, "RAM": true, "RHS": true, "RPC": true, "SLA": true, "SMTP": true, "SSH": true, "TLS": true, "TTL": true, "UI": true, "UID": true, "UUID": true, "URI": true, "URL": true, "UTF8": true, "VM": true, "XML": true, "XSRF": true, "XSS": true, }
Functions ¶
func ContainsString ¶
func FirstLower ¶
func FirstUpper ¶
func IsLastIndex ¶
func LineString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.