- refactoring
@@ -21,7 +21,7 @@ func NewId(suffix string) string {
suffix,
now.Year(),
now.YearDay(),
- shortuuid.New())
+ shortuuid.NewWithAlphabet("23456789abcdefghijkmnopqrstuvwxy"))
}
func (t *Ticket) Marshal() ([]byte, error) {