0

I am trying to deploy a local instance of transfer.sh.

However, when I run:

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

I get:

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

The $GOPATH is:

/usr/share/go

Any ideas?

1 Answer 1

1

run go get github.com/dutchcoders/go-virustotal it should download that package for you

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.