尝试构建transfer.sh时出错

时间:2016-10-10 11:37:43

标签: go

我正在尝试部署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

有什么想法吗?

1 个答案:

答案 0 :(得分:1)

运行go get github.com/dutchcoders/go-virustotal它应该为您下载该软件包

相关问题