Commit 3fe2cded4df2397ee8fc0b95737a5df8f1f2f489

Authored by 陆恒
1 parent c44a6efa
Exists in master

提交

Showing 1 changed file with 8 additions and 5 deletions   Show diff stats
src/HttpServer/main/main.go
@@ -68,14 +68,17 @@ func main() { @@ -68,14 +68,17 @@ func main() {
68 } 68 }
69 69
70 //測試 70 //測試
71 - logic.Test() 71 + //logic.Test()
72 go logic.StartHttpServe() 72 go logic.StartHttpServe()
73 go logic.StartHttpTicker() 73 go logic.StartHttpTicker()
74 - time.Sleep(time.Duration(2) * time.Second)  
75 - logic.Testsendhttp() 74 + //time.Sleep(time.Duration(2) * time.Second)
  75 + //logic.Testsendhttp()
76 76
77 - var a []int  
78 - a[11] = 1 77 + type A struct {
  78 + a int
  79 + }
  80 + var a *A
  81 + a.a = 1
79 defer Selfrecover() 82 defer Selfrecover()
80 83
81 select { 84 select {