Printfcoder GoUtils, a package of Golang common utility. Its inspiration comes from apache commons lang
More information can be found on godoc which can be browsed.
$go get -u github.com/printfcoder/goutils/...
import (
"fmt"
"github.com/printfcoder/goutils/stringutils"
)
func demo(){
out := stringutils.IndexOf("0123456789", "2")
fmt.Println(out)
}
Just email me
Code is under the Apache Licence v2.