mirror of
https://github.com/jimeh/undent.git
synced 2026-02-19 11:56:39 +00:00
6cdaf8a476047f4c50e669112a1ff4004e26d2ac
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"
}
Languages
Go
89.6%
Makefile
10.4%