Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main.go:33: syntax error: unexpected string literal, expecting comma or ) #991

Closed
iblacksand opened this issue Jan 14, 2018 · 1 comment
Closed

Comments

@iblacksand
Copy link

When running go get -u github.com/odeke-em/drive/drive-google, I encountered the error

go/src/github.com/odeke-em/drive/cmd/drive/main.go:33: syntax error: unexpected string literal, expecting comma or )

Was I doing something wrong or is the source broken?

@CaffeineDreams
Copy link

CaffeineDreams commented Jan 18, 2018

Yep I'm getting this too. The package in the shaggytwodope repo installs fine on Ubuntu, but this installs version 0.3.9.1, and I'd very much like 0.4 so I can use the service account feature. Unfortunately, I've never worked in golang so I have no idea where to start debugging. Looking at the build log, I'm wondering whether it's related to this behaviour: golang/dep#1140

If so then the CI config needs updating to use a go version > 1.8, it's currently set to 1.7

edit: sorry, my mistake - I should have clarified, you'll need golang > 1.8 locally as well.

edit 2: this has already been flagged in #987

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants