mirror of
https://github.com/jimeh/undent.git
synced 2026-02-19 11:56:39 +00:00
28d6c7e8deab4d61c11d9691568fe69de1e19bea
undent
Go package which removes leading indentation/white-space from multi-line strings and byte slices.
s := undent.String(`
{
"hello": "world"
}`,
)
fmt.Println(s)
{
"hello": "world"
}
Documentation
Please see the Go Reference for documentation and examples.
License
Languages
Go
89.6%
Makefile
10.4%