Files
pztrn 3d43b8a84e
Linting and tests / Linting (push) Failing after 30s
Linting and tests / Tests (push) Successful in 25s
Initial commit.
2026-06-10 10:23:00 +05:00

9 lines
196 B
Go

package httpserver
import "net/http"
func (h *httpServer) defaultHandler(w http.ResponseWriter, _ *http.Request) {
w.WriteHeader(http.StatusNotFound)
_, _ = w.Write([]byte("Unknown path."))
}