-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
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
[BUG]golang环境是否有要求?1.15 不能运行 #191
Comments
spf13/viper#1161 |
应该是没有要求,但我看是如果 1.15 的话,需要 upgrade 到 1.15.10+ |
viper 里面使用的方法已经超前到了1.16了 |
https://github.com/zouyx/agollo_demo/runs/4403694463?check_suite_focus=true 我刚刚用 1.13 试了下,当前4.0.9 也是没问题喔 |
我通过升级搞定的,如果现在没有我就关掉吧 |
我还想了解下,viper 是 agollo 引进来的吗?还是有组件引进来的,go mod graph 看看? |
这个是agollo的go mod 可以看到使用的viper是1.8.1 viper@1.8.1 里面引用了
然而在 afero v1.6.0这个里面可以看到以下代码。
其中 import "testing/fstest" 这个包 然而 "testing/fstest" 这个包是go 1.16 才有的。1.15升级根本没用 |
使用go mod 管理之后提示这个错误
go version 1.15.8
agollo version v4.0.9
The text was updated successfully, but these errors were encountered: