You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear @kokizzu,
I'm not sure how to appreciate the beauty of your solution without being able to run it on Windows as a binary that produces the result. E.g. check ULID and CUIDv2
if without configuration it would be as easy as this:
package main
import"fmt"import"github.com/kokizzu/lexid"funcmain() {
fmt.Println(lexid.ID())
// orfmt.Println(lexid.NanoID())
}
then just run it:
go mod init x # init project
go mod tidy # download dependencies
go run a.go
0YkljQ~-----0~0
0RuHN8PMPFN~-----1~0
go run a.go
0YkljT~-----0~0
0RuHNBBfWV-~-----1~0
but lexid heavily configurable/customizable (you can offset the time, change/remove separator), unlike ulid or uuid that only have few fixed format
Dear @kokizzu,
I'm not sure how to appreciate the beauty of your solution without being able to run it on Windows as a binary that produces the result. E.g. check ULID and CUIDv2
The text was updated successfully, but these errors were encountered: