aboutsummaryrefslogtreecommitdiff
path: root/forged/internal/incoming/web/handlers/index.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-08-17 18:14:35 +0800
committerRunxi Yu <me@runxiyu.org>2025-08-17 18:14:35 +0800
commit4479525731ef41bd5e2a91b949142a2097e0e701 (patch)
tree1c19df11472fdd2202df7158dafd0b15f59c3521 /forged/internal/incoming/web/handlers/index.go
parentMove all config typedefs to config.go (diff)
downloadforge-4479525731ef41bd5e2a91b949142a2097e0e701.tar.gz
forge-4479525731ef41bd5e2a91b949142a2097e0e701.tar.zst
forge-4479525731ef41bd5e2a91b949142a2097e0e701.zip
Move more stub handlers to handlers/
Diffstat (limited to 'forged/internal/incoming/web/handlers/index.go')
-rw-r--r--forged/internal/incoming/web/handlers/index.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/forged/internal/incoming/web/handlers/index.go b/forged/internal/incoming/web/handlers/index.go
index 773a0c6..1fd2954 100644
--- a/forged/internal/incoming/web/handlers/index.go
+++ b/forged/internal/incoming/web/handlers/index.go
@@ -10,6 +10,6 @@ type IndexHTTP struct{}
func NewIndexHTTP() *IndexHTTP { return &IndexHTTP{} }
-func (h *IndexHTTP) Index(w http.ResponseWriter, r *http.Request, _ wtypes.Vars) {
+func (h *IndexHTTP) Index(w http.ResponseWriter, _ *http.Request, _ wtypes.Vars) {
_, _ = w.Write([]byte("index: replace with template render"))
}