Generates url safe lexically sorted universally unique ids with a prefix in go. Inspired from Stripe.
package main
import (
"fmt"
"github.com/appointy/idgen"
)
func main() {
id := idgen.New("cus")
fmt.Println(id)
// Output: cus_0000XSNJG0MQJHBF4QX1EFD6Y3
}