aboutsummaryrefslogtreecommitdiff
path: root/http_server.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-13 09:33:19 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-13 09:33:19 +0800
commit91ca7bf1baf7ab077bdd63a7a3930c15af5be325 (patch)
tree1c670aa1da48f1e3edc7144a0c63231aa7b465e2 /http_server.go
parentTODO: Fix diff view (diff)
downloadforge-91ca7bf1baf7ab077bdd63a7a3930c15af5be325.tar.gz
forge-91ca7bf1baf7ab077bdd63a7a3930c15af5be325.tar.zst
forge-91ca7bf1baf7ab077bdd63a7a3930c15af5be325.zip
http_*.go: Use http.Error
Diffstat (limited to '')
-rw-r--r--http_server.go2
1 files changed, 1 insertions, 1 deletions
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{}