Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.