Skip to content

Replace go-chi with go-pkgz/routegroup - #54

Merged
umputun merged 1 commit into
umputun:masterfrom
paskal:migrate-to-routegroup
Dec 4, 2025
Merged

Replace go-chi with go-pkgz/routegroup#54
umputun merged 1 commit into
umputun:masterfrom
paskal:migrate-to-routegroup

Conversation

@paskal

@paskal paskal commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Migrate REST server from chi router to routegroup using Go 1.22+ native routing
  • Replace chi middleware (Throttle, Recoverer, RequestID, RealIP, Timeout) with go-pkgz/rest equivalents
  • Replace go-chi/render with stdlib json encoding and go-pkgz/rest helpers (SendErrorJSON, RenderJSON)
  • Update golangci-lint config to v2 format
  • Remove chi/render/form dependencies from vendor

Migrate REST server from chi router to routegroup using Go 1.22+ native
routing. Replace chi middleware with go-pkgz/rest equivalents and use
stdlib json encoding instead of go-chi/render.
@umputun
umputun merged commit 9ee1ae7 into umputun:master Dec 4, 2025
1 check passed
@paskal
paskal deleted the migrate-to-routegroup branch December 4, 2025 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants