mirror of
https://github.com/jimeh/undent.git
synced 2026-02-19 03:56:38 +00:00
d1148580df8c46d649f08b6564fc6bbcc95a8943
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
undent
Go package which removes leading indentation/white-space from strings.
s := undent.String(`
{
"hello": "world"
}`,
)
fmt.Println(s)
{
"hello": "world"
}
Documentation
Please see the Go Reference for documentation and examples.
Benchmarks
Benchmark reports and graphs are available here: https://jimeh.me/undent/dev/bench/
License
Languages
Go
89.6%
Makefile
10.4%