No description
				
			
		| go.mod | ||
| go.sum | ||
| leftpad.go | ||
| leftpad_test.go | ||
| README.md | ||
LeftPad
LeftPad is a wrapper porting the ever useful left-pad package from Javascript to Go.
- uses existing, production ready, code from javascript
- 100% not trolling
go get -u github.com/jamescun/leftpad
Usage
str := leftpad.LeftPad("foo", 6, " ")
// => "   foo"
