fclairamb / ftpserver

Golang based autonomous FTP server with SFTP, S3, Dropbox, and Google Drive connectors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot find package dropbox

fxck opened this issue · comments

commented
$ go get github.com/fclairamb/ftpserver
cannot find package "github.com/dropbox/dropbox-sdk-go-unofficial/dropbox" in any of:
        /usr/local/Cellar/go/1.15/libexec/src/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox (from $GOROOT)
        /Users/fxck/go/src/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox (from $GOPATH)
cannot find package "github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files" in any of:
        /usr/local/Cellar/go/1.15/libexec/src/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files (from $GOROOT)
        /Users/fxck/go/src/github.com/dropbox/dropbox-sdk-go-unofficial/dropbox/files (from $GOPATH)
        

This is most probably related to your environment. Here is a sample container run:

$ docker run --rm golang:alpine go get github.com/fclairamb/ftpserver 
go: downloading github.com/fclairamb/ftpserver v0.9.0
go: downloading github.com/fclairamb/ftpserverlib v0.13.0
go: downloading github.com/spf13/afero v1.5.1
go: downloading github.com/go-kit/kit v0.10.0
go: downloading golang.org/x/text v0.3.4
go: downloading github.com/go-logfmt/logfmt v0.5.0
go: downloading github.com/fclairamb/afero-dropbox v0.1.0
go: downloading github.com/fclairamb/afero-gdrive v0.2.0
go: downloading golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93
go: downloading github.com/go-mail/mail v2.3.1+incompatible
go: downloading github.com/aws/aws-sdk-go v1.37.19
go: downloading github.com/fclairamb/afero-s3 v0.3.0
go: downloading github.com/pkg/sftp v1.12.0
go: downloading golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83
go: downloading github.com/dropbox/dropbox-sdk-go-unofficial v5.6.0+incompatible
go: downloading google.golang.org/api v0.40.0
go: downloading gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc
go: downloading github.com/kr/fs v0.1.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading golang.org/x/net v0.0.0-20201209123823-ac852fbbde11
go: downloading google.golang.org/grpc v1.34.0
go: downloading google.golang.org/appengine v1.6.7
go: downloading golang.org/x/sys v0.0.0-20210104204734-6f8348627aad
go: downloading github.com/googleapis/gax-go/v2 v2.0.5
go: downloading go.opencensus.io v0.22.5
go: downloading cloud.google.com/go v0.74.0
go: downloading github.com/golang/protobuf v1.4.3
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: downloading google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d
go: downloading google.golang.org/protobuf v1.25.0
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/dropbox/dropbox-sdk-go-unofficial v1.0.0