diff --git a/src/HttpServer/main/main.go b/src/HttpServer/main/main.go index faf10fb..86c3292 100644 --- a/src/HttpServer/main/main.go +++ b/src/HttpServer/main/main.go @@ -68,14 +68,17 @@ func main() { } //測試 - logic.Test() + //logic.Test() go logic.StartHttpServe() go logic.StartHttpTicker() - time.Sleep(time.Duration(2) * time.Second) - logic.Testsendhttp() + //time.Sleep(time.Duration(2) * time.Second) + //logic.Testsendhttp() - var a []int - a[11] = 1 + type A struct { + a int + } + var a *A + a.a = 1 defer Selfrecover() select { -- libgit2 0.21.0