diff --git a/encoder.go b/encoder.go index a1b21db..d1f9d81 100644 --- a/encoder.go +++ b/encoder.go @@ -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) diff --git a/go.mod b/go.mod index 1e06c81..be9e661 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/lithammer/shortuuid/v4 require github.com/google/uuid v1.6.0 -go 1.22 +go 1.21