weixin_39542477
2020-12-08 23:57Release error: too many arguments in call to c.Beat
Hello , I'm using your lib but the released version has a bug.
➜ go get -u github.com/contribsys/faktory_worker_go
# github.com/contribsys/faktory_worker_go
../../golang/pkg/mod/github.com/contribsys/faktory_worker_go.0.1/runner.go:190:24: too many arguments in call to c.Beat
have (string)
want ()
The runner.go
calls client.Beat()
and sends the current state mgr.CurrentState()
https://github.com/contribsys/faktory_worker_go/blob/17dd45681297754771d8d61c6e8b64231aebfd1c/runner.go#L189-L190
This version requires faktory v1.2.0-1
https://github.com/contribsys/faktory_worker_go/blob/17dd45681297754771d8d61c6e8b64231aebfd1c/go.mod#L5-L8
Which doesn't have a Beat()
method that receives any argument.
https://github.com/contribsys/faktory/blob/5a6c200269abb81a8f718c9995742d847f042a5f/client/client.go#L431-L437
Would be possible to release a brand new version to get it fixed? I was using the master branch in development but I don't want to do the same for production.
Thank you very much!
该提问来源于开源项目:contribsys/faktory_worker_go
- 点赞
- 回答
- 收藏
- 复制链接分享
4条回答
为你推荐
- main(sys.argv)报错:Error: too few arguments
- python
- 深度学习
- 机器学习
- 人工智能
- 1个回答
- 正则表达式不匹配
- regex
- python
- 1个回答
- Go界面方法的用法
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 1个回答
- 限速HTTP请求(通过http.HandlerFunc中间件)
- http
- 4个回答
- 报错:Uncaught SyntaxError: Invalid or unexpected token,找不到原因,纠结
- html5
- javascript
- chrome
- 1个回答