A collection of string utilities for GO. This project is pretty much inspired on underscore.string project.
import (
"fmt"
verbo "github.com/ararog/verbo"
)
str := verbo.LeftPad("1", 8, "0")
fmt.Printf("Output: %s\n", str)
You can contribute by creating new testcases and fixing code of tests that are currently failing, the functions Chop, Humanize, Levenstein, Pad, Slugify, Underscored and Words are not fully functional and requires some additional fixes.
Feel free to fork and create a PR!
Feel free to ask questions on stackoverflow using tag "verbo".