aksiksi / ncdmv

Find upcoming NC DMV appointments.
1 stars 1 forks source link

Update package and slices.SortFunc #2

Closed ZhiyuanMa2017 closed 1 month ago

ZhiyuanMa2017 commented 1 month ago

There are errors:

  1. ERROR: could not unmarshal event: parse error: expected string near offset 1063 of 'cookiePart...' - update package to solve this
  2. pkg/ncdmv/client.go:434:40: in call to slices.SortFunc, type func(a models.Appointment, b models.Appointment) bool of func(a, b models.Appointment) bool {…} does not match inferred type func(a models.Appointment, b models.Appointment) int for func(a E, b E) int - update slices.SortFunc

Oh I forgot that I also updated the README before. If you don't like the changes, please close this. Just want to share how to make this project run at this time(08/26/2024).