在上发布了以下内容之后,我在这里尝试。
我在文档中解释了buildx命令(来自我的基于Intel的Mac):
# This normally works with build, without buildx
git clone https://github.com/Rothamsted/knetminer
cd knetminer
# buildx is the new thing I'm trying, to have multi-arch support
docker buildx build --platform linux/amd64,linux/arm64 -t knetmi
我正在尝试编译。说明状态为下载源代码,然后是依赖项
go get github.com/koron/go-ssdp
go get github.com/gorilla/websocket
go get github.com/kardianos/osext
运行时出现以下错误:go get https://github.com/xteve-project/xTeVe
unexpected directory layout:
import path: _/home/pi/go/src/github.com/xteve-project/xTeVe/src/internal/authe