diff --git a/src/HttpServer/logic/httpserver.go b/src/HttpServer/logic/httpserver.go index e03ad42..d946a00 100644 --- a/src/HttpServer/logic/httpserver.go +++ b/src/HttpServer/logic/httpserver.go @@ -57,6 +57,7 @@ func Testsendhttp() { } } } + logger.Info("FINAL++++++++++++++++++++++++++++res=%v",right) } func CheckErr(err error) { diff --git a/src/HttpServer/main/main.go b/src/HttpServer/main/main.go index 811788c..7365561 100644 --- a/src/HttpServer/main/main.go +++ b/src/HttpServer/main/main.go @@ -65,11 +65,11 @@ func main() { } //測試 - logic.Test() - go logic.StartHttpServe() + //logic.Test() + //go logic.StartHttpServe() //go logic.StartHttpTicker() //time.Sleep(time.Duration(2) * time.Second) - //go logic.Testsendhttp() + go logic.Testsendhttp() select { case _ = <-ch: -- libgit2 0.21.0