From 64c2e7b44813b0b847d8c7bd0d2850b36d4ab3b4 Mon Sep 17 00:00:00 2001 From: dustoair <107600816+dustoair@users.noreply.github.com> Date: Fri, 22 Jul 2022 17:27:35 +0800 Subject: [PATCH] log adjust --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 71783c2..430391e 100644 --- a/main.go +++ b/main.go @@ -11,11 +11,11 @@ import ( func main() { http.HandleFunc("/", IPHandle) + log.Println("server start!") http.ListenAndServe(":8080", nil) } func IPHandle(w http.ResponseWriter, req *http.Request) { - log.Println("server start!") address := req.FormValue("address") var ipInfo ip2region.IpInfo if address != "" {