-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Running Go + AWS example #647
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to run the following example (https://github.com/serverless/examples/tree/master/aws-golang-http-get-post), but hit a few roadblocks on the way and could not get it to work:
1. "dep" command not found
to solve this, i followed the instructions here: https://forum.serverless.com/t/trying-to-get-serverless-golang-example-to-work/5676, so running "go get -v -u github.com/golang/dep/cmd/dep".
However, dep does not install anymore, with the following error:
2. "dep" is deprecated and it is not possible to install it anymore
Looking into it, it seems that the dep package is abandoned and replaced by go modules instead: https://github.com/golang/dep
So my follow up question would be: Do you have any go + aws examples using modern go with modules or would it be easily possible to convert the current examples (I assume using a go.mod file instead would probably work).
Update: I submitted a PR that will make it compile again, but I think the examples need a deeper structural change to confirm to typical go modules folder structures.
The text was updated successfully, but these errors were encountered: