From 5c1f885456399351b8fa20da86687964e5f8a332 Mon Sep 17 00:00:00 2001 From: aceberg <1502200+aceberg@users.noreply.github.com> Date: Mon, 5 Sep 2022 23:18:22 +0700 Subject: [PATCH] Sort and search (#4,#10,#11) --- src/web-index.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/web-index.go b/src/web-index.go index 44a2783..e026ada 100644 --- a/src/web-index.go +++ b/src/web-index.go @@ -2,6 +2,7 @@ package main import ( "fmt" + "log" "net/http" "html/template" "strconv" @@ -51,9 +52,9 @@ func webgui() { // fmt.Println(FoundHosts) address := AppConfig.GuiIP + ":" + AppConfig.GuiPort - fmt.Println("\n=================================== ") - fmt.Println(fmt.Sprintf("Web GUI at http://%s", address)) - fmt.Println("=================================== \n") + log.Println("=================================== ") + log.Println(fmt.Sprintf("Web GUI at http://%s", address)) + log.Println("=================================== ") http.HandleFunc("/", index) http.HandleFunc("/home/", home)