We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用 kardianos/service 这个项目的时候,需要调用run方法
The text was updated successfully, but these errors were encountered:
@ahthabc 我这变报1053 注册服务 启动不了 service.go s.start 也改为s.run 也不行 您这边有 好的解决方法吗
Sorry, something went wrong.
我尝试了在service.go文件将 service.Service 的变量定义为全局变量,并放入init方法进行初始化,在run方法执行runServer(),然后在main文件中将原来的runServer调用换成s.Run()
请问下这个问题解决了吗
No branches or pull requests
使用 kardianos/service 这个项目的时候,需要调用run方法
The text was updated successfully, but these errors were encountered: