为啥我go get github.com/kardianos/service 会出现这个错误

hurryboylqs 2020-04-08 11:12:30
go get github.com/kardianos/service
# github.com/kardianos/service
go\src\github.com\kardianos\service\service_aix.go:126:8: undefined: run
go\src\github.com\kardianos\service\service_aix.go:178:9: undefined: run
go\src\github.com\kardianos\service\service_aix.go:191:24: undefined: runWithOutput
go\src\github.com\kardianos\service\service_aix.go:225:9: undefined: run
go\src\github.com\kardianos\service\service_aix.go:228:9: undefined: run
go\src\github.com\kardianos\service\service_aix.go:263:9: undefined: newSysLogger
go\src\github.com\kardianos\service\service_windows.go:22:7: version redeclared in this block
previous declaration at go\src\github.com\kardianos\service\service_aix.go:23:17
go\src\github.com\kardianos\service\service_windows.go:131:5: interactive redeclared in this block
previous declaration at go\src\github.com\kardianos\service\service_aix.go:65:5
...全文
32 点赞 收藏 1
写回复
1 条回复
hurryboylqs 2020年04月08日
go 更新到1.14就好了,原来是1.11
回复 点赞
发动态
发帖子
go语言
创建于2013-07-31

457

社区成员

666

社区内容

go语言学习与交流版
社区公告
暂无公告