18 lines
817 B
Go
18 lines
817 B
Go
/*
|
|
Package stringsx aims to extend functionality of the stdlib [strings] module.
|
|
|
|
Note that if you need a way of mimicking Bash's shell quoting rules, [desertbit/shlex] or [buildkite/shellwords]
|
|
would be better options than [google/shlex] but this package does not attempt to reproduce
|
|
any of that functionality.
|
|
|
|
For line splitting, one should use [muesli/reflow/wordwrap].
|
|
Likewise for indentation, one should use [muesli/reflow/indent].
|
|
|
|
[desertbit/shlex]: https://pkg.go.dev/github.com/desertbit/go-shlex
|
|
[buildkite/shellwords]: https://pkg.go.dev/github.com/buildkite/shellwords
|
|
[google/shlex]: https://pkg.go.dev/github.com/google/shlex
|
|
[muesli/reflow/wordwrap]: https://pkg.go.dev/github.com/muesli/reflow/wordwrap
|
|
[muesli/reflow/indent]: https://pkg.go.dev/github.com/muesli/reflow/indent
|
|
*/
|
|
package stringsx
|