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:
brent saner
2025-11-14 01:02:59 -05:00
parent e101758187
commit b1d8ea34a6
7 changed files with 724 additions and 0 deletions

1
go.mod
View File

@@ -5,6 +5,7 @@ go 1.24.5
require (
github.com/coreos/go-systemd/v22 v22.5.0
github.com/google/uuid v1.6.0
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba
golang.org/x/sys v0.34.0
r00t2.io/sysutils v1.14.0
)