Migrate from go-chi/chi v1 to go-chi/chi/v5
All checks were successful
check / check (push) Successful in 2m43s

Replace github.com/go-chi/chi v1.5.5 with github.com/go-chi/chi/v5
v5.2.1 to resolve GO-2026-4316 (open redirect in RedirectSlashes
middleware). Update all import paths across the codebase and update
documentation references in README.md and CONVENTIONS.md.
This commit is contained in:
clawbot
2026-03-10 04:51:57 -07:00
parent 67446b36a1
commit c1288419b7
8 changed files with 10 additions and 10 deletions

View File

@@ -8,8 +8,8 @@ import (
"git.eeqj.de/sneak/neoirc/web"
sentryhttp "github.com/getsentry/sentry-go/http"
"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/spf13/viper"
)

View File

@@ -20,7 +20,7 @@ import (
"go.uber.org/fx"
"github.com/getsentry/sentry-go"
"github.com/go-chi/chi"
"github.com/go-chi/chi/v5"
_ "github.com/joho/godotenv/autoload" // loads .env file
)