how to execute a function when server started without any request in golang

前端 未结 0 1649
被撕碎了的回忆
被撕碎了的回忆 2020-12-29 06:33

I have a function and i need to execute it when http server started. If i send a request with curl it is starting to run continously. I need to do that with

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