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

unexpected = in type declaration #2

aduermael opened this issue Jul 6, 2019 · 2 comments


None yet
2 participants
Copy link

commented Jul 6, 2019

When using has a dependency, I get this build error:

# website/vendor/
vendor/ syntax error: unexpected = in type declaration

It works if I use the previous commit: 98c3abb


This comment has been minimized.

Copy link

commented Jul 7, 2019

Thanks for reporting.

What version of Go are you using? I suspect it might be version Go 1.8 or older. If so, you'll need to update to Go 1.9 or newer, since that's when type aliases were added.


This comment has been minimized.

Copy link

commented Jul 7, 2019

Oh, you're right.
Sorry about that, I do have the latest version of Go installed on my machine, but it's been built in a container that has Go 1.8.3... 🤦‍♂️
Closing the issue!

@aduermael aduermael closed this Jul 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.