[PR #496] [CLOSED] replace http route with go-chi #618

Closed
opened 2026-02-25 23:34:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/496
Author: @hulb
Created: 10/9/2022
Status: Closed

Base: masterHead: feat/go-chi


📝 Commits (1)

  • 982cd22 replace http route with go-chi

📊 Changes

8 files changed (+142 additions, -291 deletions)

View changed files

📝 go.mod (+1 -1)
📝 go.sum (+2 -1)
📝 internal/cmd/open.go (+6 -8)
📝 internal/webserver/handler-api-ext.go (+4 -13)
📝 internal/webserver/handler-api.go (+30 -62)
📝 internal/webserver/handler-ui.go (+27 -34)
internal/webserver/middleware.go (+26 -0)
📝 internal/webserver/server.go (+46 -172)

📄 Description

I prefer go-chi as a light route because I think it's more idiomatic and makes the code more understandable


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-shiori/shiori/pull/496 **Author:** [@hulb](https://github.com/hulb) **Created:** 10/9/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/go-chi` --- ### 📝 Commits (1) - [`982cd22`](https://github.com/go-shiori/shiori/commit/982cd22d96310ac3d64699023fad0d95138c2ac4) replace http route with go-chi ### 📊 Changes **8 files changed** (+142 additions, -291 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -1) 📝 `internal/cmd/open.go` (+6 -8) 📝 `internal/webserver/handler-api-ext.go` (+4 -13) 📝 `internal/webserver/handler-api.go` (+30 -62) 📝 `internal/webserver/handler-ui.go` (+27 -34) ➕ `internal/webserver/middleware.go` (+26 -0) 📝 `internal/webserver/server.go` (+46 -172) </details> ### 📄 Description I prefer go-chi as a light route because I think it's more idiomatic and makes the code more understandable --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:34:54 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#618
No description provided.