You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
描述问题 · Describe the bug
After modifying the code and running it with -toolexec decorator, the error "cannot use _ as value or type" appears 期望 · Expected behavior
Normal operation
环境 (选其一) · Env (please complete the following information):
OS: Linux
Go: 1.23
go-decorator: 0.21.0
最小化可复现代码 · Minimize reproducible code
在这里贴代码或者提供代码仓库地址 · There is a code here or a link to code (), ref.
Thanks for the feedback, the issue has been fixed in v0.22.0. Run the following command to upgrade:
# Install lasest version
$ go install github.com/dengsgo/go-decorator/cmd/decorator@latest
# View current version
$ decorator
Then, just recompile.
NOTE: After upgrading the version, in order not to be affected by the old cache, please force the project code to compile once when compiling it for the first time, for example:
描述问题 · Describe the bug
After modifying the code and running it with -toolexec decorator, the error "cannot use _ as value or type" appears
期望 · Expected behavior
Normal operation
环境 (选其一) · Env (please complete the following information):
最小化可复现代码 · Minimize reproducible code
在这里贴代码或者提供代码仓库地址 · There is a code here or a link to code (), ref.
编译执行的命令 · Build command
提供报错所执行的命令 · Commands executed by the compiled code。
The text was updated successfully, but these errors were encountered: