Skip to content

Conversation

@paskal
Copy link
Contributor

@paskal paskal commented Dec 3, 2025

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

@paskal paskal force-pushed the migrate-to-routegroup branch 4 times, most recently from fcb441b to 50e1fb0 Compare December 3, 2025 21:54
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.
@paskal paskal force-pushed the migrate-to-routegroup branch from 50e1fb0 to 20b2f3b Compare December 3, 2025 22:39
@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