repositorypackage
0.0.0-20181207133115-1e93189d2fff
Repository: https://github.com/chrissexton/leftpad.git
Documentation: pkg.go.dev
# README
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"