Skip to content

Commit

Permalink
use shortuuid alphabet for guid encoding (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulwe authored Nov 15, 2023
1 parent 7afb922 commit cfc7410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/id.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func LocalNodeID() (string, error) {
}

var b62Index = newB62Index()
var b62Chars = []byte("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")
var b62Chars = []byte(shortuuid.DefaultAlphabet)

func newB62Index() [256]byte {
var index [256]byte
Expand Down

0 comments on commit cfc7410

Please sign in to comment.