FIX: warnings

This commit is contained in:
bronku 2025-03-31 01:22:14 +02:00
parent 67807992bc
commit c32ecbff8f
57 changed files with 1898 additions and 21 deletions

View file

@ -2,7 +2,7 @@ package server
import "net/http"
func (s *Server) redirect(path string, code int) http.HandlerFunc {
func (h *Server) redirect(path string, code int) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, path, code)
}