Documentation
¶
Index ¶
- func HasCaseInsensitivePrefix(s, prefix string) bool
- func HasCaseInsensitiveSuffix(s, suffix string) bool
- func IsAlphanumeric(s string) bool
- func IsRepeatedCharacter(s string, r rune) bool
- func IsUpperCase(s string) bool
- func ParseRelativeNumber(s string) (number int, relative bool, err error)
- func RemoveComments(s string) string
- func ToIDLSnakeCase(text string) string
- func TrimCaseInsensitivePrefix(s, prefix string) string
- func TrimCaseInsensitiveSuffix(s, suffix string) string
- func TrimUnnecessaryParens(as string) string
- func TrimWhitespace(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlphanumeric ¶
func IsRepeatedCharacter ¶ added in v1.6.0
func IsUpperCase ¶ added in v1.6.19
func ParseRelativeNumber ¶ added in v1.6.0
func RemoveComments ¶
func ToIDLSnakeCase ¶ added in v1.7.2
ToIDLSnakeCase converts a string, typically CamelCase or PascalCase, to snake_case. It includes custom replacements to handle acronyms commonly found in Matter.
func TrimUnnecessaryParens ¶
func TrimWhitespace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.