From 91ca7bf1baf7ab077bdd63a7a3930c15af5be325 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 13 Feb 2025 09:33:19 +0800 Subject: http_*.go: Use http.Error --- http_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http_server.go') diff --git a/http_server.go b/http_server.go index e769ace..917d68c 100644 --- a/http_server.go +++ b/http_server.go @@ -4,8 +4,8 @@ import ( "errors" "fmt" "net/http" - "strings" "strconv" + "strings" ) type http_router_t struct{} -- cgit v1.2.3