Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendLowercase ¶ added in v1.97.7
AppendLowercase appends lowercase s to dst and returns the result.
It is faster alternative to strings.ToLower.
func JSONString ¶ added in v1.97.7
JSONString returns JSON-quoted s.
func LessNatural ¶ added in v1.97.7
LessNatural returns true if a is less than b using natural sort comparison.
func LimitStringLen ¶
LimitStringLen limits the length of s with maxLen.
If len(s) > maxLen, then s is replaced with "s_prefix..s_suffix", so the total length of the returned string doesn't exceed maxLen.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.