Skip to content

Conversation

Sneagan
Copy link
Collaborator

@Sneagan Sneagan commented Aug 12, 2025

Preserve existing behavior and ease maintenance by reducing external
dependencies.

  • Create custom router (CustomServeMux) to replace go-chi/chi/v5. Also,
    replace the few middlewares to eliminate other Chi imports.
  • Implement bat-go style error handling without a dependency using AppError
    type and handler
  • Consolidate routing to make it easier to understand the whole
    interface in one place.

Preserve existing behavior and ease maintenance by reducing external
dependencies.

- Create custom router (`CustomServeMux`) to replace `go-chi/chi/v5`. Also,
  replace the few middlewares to eliminate other Chi imports.
- Implement `bat-go` style error handling without a dependency using `AppError`
  type and handler
- Consolidate routing to make it easier to understand the whole
  interface in one place.
@Sneagan Sneagan force-pushed the remove-chi-dependency branch from 9d9f526 to b3d6739 Compare August 14, 2025 02:23
@Sneagan Sneagan mentioned this pull request Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants