gpt4 book ai didi

go - 尝试构建 transfer.sh 时出错

转载 作者:数据小太阳 更新时间:2023-10-29 03:14:39 31 4
gpt4 key购买 nike

我正在尝试部署 transfer.sh 的本地实例.

但是,当我运行时:

go run transfersh-server/*.go -provider=local --port 8080 --temp=/tmp/ --basedir=/tmp/

我得到:

transfersh-server/virustotal.go:30:2: cannot find package "github.com/dutchcoders/go-virustotal" in any of:
/usr/lib/go-1.6/src/github.com/dutchcoders/go-virustotal (from $GOROOT)
/usr/share/go/src/github.com/dutchcoders/go-virustotal (from $GOPATH)
transfersh-server/handlers.go:56:2: cannot find package "github.com/russross/blackfriday" in any of:
/usr/lib/go-1.6/src/github.com/russross/blackfriday (from $GOROOT)
/usr/share/go/src/github.com/russross/blackfriday (from $GOPATH)
root@mmv:/home/mihai/transfer.sh# echo $GOROOT

$GOPATH 是:

/usr/share/go

有什么想法吗?

最佳答案

运行 go get github.com/dutchcoders/go-virustotal 它应该为你下载那个包

关于go - 尝试构建 transfer.sh 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39957389/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com