vishal-bihani / go-tsid

Go library for generating Time-Sorted Unique Identifiers (TSID)
Apache License 2.0
6 stars 0 forks source link

Shorter string possible? #1

Open leearmstrong opened 6 months ago

leearmstrong commented 6 months ago

Question - could the string be shorter given a larger dictionary of values i.e. upper case & lower case alphabet used alongside numbers?

vishal-bihani commented 6 months ago

You can give your own set of characters to be used, refer this

But to change length of the string the above method implementation needs to be customized. I will add an implementation for that, if i get some time.