mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
This patch implements an Ellipsis utility to append an ellipsis (...) when truncating strings in output. It also fixes the existing Truncate() utility to be compatible with unicode/multibyte characters. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
|---|---|---|
| .. | ||
| README.md | ||
| stringutils.go | ||
| stringutils_test.go | ||
This package provides helper functions for dealing with strings