我正在尝试部署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
有什么想法吗?
答案 0 :(得分:1)
运行go get github.com/dutchcoders/go-virustotal
它应该为您下载该软件包