2016-10-10 2 views
0

transfer.sh의 로컬 인스턴스를 배포하려고합니다. 그러나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) 
[email protected]:/home/mihai/transfer.sh# echo $GOROOT 

$GOPATH은 다음과 같습니다

/usr/share/go 

어떤 아이디어?

답변

1

실행 go get github.com/dutchcoders/go-virustotal 해당 패키지를 다운로드해야합니다.

관련 문제