docker/pkg/stringutils
Sebastiaan van Stijn 51dc35cf23
Implement stringutils.Ellipsis()
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>
2016-08-11 14:14:06 +02:00
..
README.md
stringutils.go Implement stringutils.Ellipsis() 2016-08-11 14:14:06 +02:00
stringutils_test.go Implement stringutils.Ellipsis() 2016-08-11 14:14:06 +02:00

README.md

This package provides helper functions for dealing with strings