Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasPrefix ¶
HasPrefix checks if the given string s has any prefix from the provided list of prefixes. It returns true if any prefix matches the start of s, otherwise returns false.
func LowerFirstChar ¶
LowerFirstChar takes a string and returns a new string with the first character converted to lowercase.
func TrimFirstPrefix ¶
TrimFirstPrefix removes the first matching prefix from the string `s` found in the list `prefixes`. If no non-empty prefix is found, it returns the original string unchanged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.