0

一个月前我学习了 golang,从未使用过 golang 模块,但今天我需要它。

最初的问题:
我想将 sciter-sdk 用于 GUI 应用程序。所以,我决定使用sciter-sdk。但这是在 go v1.15 上获取库的一个错误

我的解决方案:
我已经阅读了 go modules 的 replace 指令并为我的项目编写go.mod

常见问题:
我以为现在一切都会好起来的,但事实并非如此。当我运行go build -o ./bin/client ./src/client它时,它会抛出这个错误:

go: found github.com/sciter-sdk/go-sciter in github.com/sciter-sdk/go-sciter v0.0.0-00010101000000-000000000000
go: found github.com/sciter-sdk/go-sciter/window in github.com/sciter-sdk/go-sciter v0.0.0-00010101000000-000000000000
go: github.com/shumatech/go-sciter@v0.5.1-0.20200928005155-90bed320196c used for two different module paths (github.com/sciter-sdk/go-sciter and github.com/shumatech/go-sciter)

我在 golang问题中发现了该错误,但我不知道该怎么做

4

0 回答 0