str
README.md
String utilities for Golang
Description
Include all functions from standard library and some other useful functions
Example usage
package main
import ( "fmt"
"gitverse.ru/sc/golng/str")
func main() { fmt.Println(str.LeftPad("1", 5, "0")) // 00001}
Benchmarks
BenchmarkLeftPadV2-8 3347702 383.3 ns/op 152 B/op 4 allocs/opBenchmarkLeftPad-8 5686744 218.8 ns/op 112 B/op 1 allocs/op