Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TruncateHead ¶ added in v0.6.9
TruncateHead keeps the first maxBytes of s at a UTF-8 boundary and appends a "…N chars truncated…" marker. Useful when only the start of the value is informative.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.