From 3fe2cded4df2397ee8fc0b95737a5df8f1f2f489 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Sat, 9 May 2020 10:56:08 +0800 Subject: [PATCH] 提交 --- src/HttpServer/main/main.go | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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