How to run go routines outside of main() with mutex

前端 未结 0 922
别跟我提以往
别跟我提以往 2020-12-16 00:44

I have the following code where I build a simple api that returns the sum of the numbers passed by query:

func main() {
    http.ListenAndServe(":80"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题