Generate URL safe strings.
package main
import "github.com/zemirco/uid"
func main() {
id := uid.New(10)
fmt.Println(id)
// 9BZ1sApAX4
}
go test
BenchmarkNew1 20000000 104 ns/op
BenchmarkNew5 20000000 110 ns/op
BenchmarkNew10 10000000 120 ns/op
BenchmarkNew20 10000000 155 ns/op
BenchmarkNew50 5000000 252 ns/op
MIT