v1.11.0
ADDED:
* `stringsx` package
** `stringsx.Indent()`, to indent/prefix multiline strings
** `stringsx.Redact()`, to mask strings
** `stringsx.TrimLines()`, like strings.TrimSpace() but multiline
** `stringsx.TrimSpaceLeft()`, like strings.TrimSpace() but only to the
left of a string.
** `stringsx.TrimSpaceRight()`, like strings.TrimSpace() but only to the
right of a string.
This commit is contained in:
5
stringsx/TODO
Normal file
5
stringsx/TODO
Normal file
@@ -0,0 +1,5 @@
|
||||
- Banner struct, with .Format(s string) method
|
||||
-- draw border around multiline s
|
||||
-- i have a version in python somewhere that does this, should dig that up
|
||||
|
||||
- create bytesx package that duplicates the functions here?
|
||||
Reference in New Issue
Block a user