diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-13 09:33:19 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-13 09:33:19 +0800 |
commit | 91ca7bf1baf7ab077bdd63a7a3930c15af5be325 (patch) | |
tree | 1c670aa1da48f1e3edc7144a0c63231aa7b465e2 /http_server.go | |
parent | TODO: Fix diff view (diff) | |
download | forge-91ca7bf1baf7ab077bdd63a7a3930c15af5be325.tar.gz forge-91ca7bf1baf7ab077bdd63a7a3930c15af5be325.tar.zst forge-91ca7bf1baf7ab077bdd63a7a3930c15af5be325.zip |
http_*.go: Use http.Error
Diffstat (limited to 'http_server.go')
-rw-r--r-- | http_server.go | 2 |
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{} |