Skip to content

Commit

Permalink
revert go version, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
anatoly-kussul committed Jan 9, 2025
1 parent ca85800 commit 1662e1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type BaseNEncoder []rune
var DefaultEncoder = BaseNEncoder(DefaultAlphabet)

// NewEncoder creates new BaseNEncoder with given alphabet
// Removes duplicates and sort it to ensure reproducibility.
// Removes duplicates and sorts it to ensure reproducibility.
func NewEncoder(alphabet string) (BaseNEncoder, error) {
e := BaseNEncoder(alphabet)
slices.Sort(e)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/lithammer/shortuuid/v4

require github.com/google/uuid v1.6.0

go 1.22
go 1.21

0 comments on commit 1662e1f

Please sign in to comment.