You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: update go-chi/hostrouter to v0.3.0 for chi v5.2.2 compatibility
Updates github.com/go-chi/hostrouter from v0.2.0 to v0.3.0 to fix
compatibility issues with the updated go-chi/chi/v5 v5.2.2.
The hostrouter v0.2.0 doesn't implement the new Find method that was
added to the chi.Routes interface in chi v5.2.0+, causing build failures.
The v0.3.0 version includes this method and is compatible with the
updated chi version.
Fixes the following build error:
cannot use Routes{} (value of map type Routes) as chi.Routes value in
variable declaration: Routes does not implement chi.Routes (missing method Find)
Co-authored-by: sreya <4856196+sreya@users.noreply.github.com>
0 commit comments