awslabs / aws-lambda-go-api-proxy

lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway.
Apache License 2.0
1.05k stars 197 forks source link

Cannot go get based on the installation instruction #11

Closed adhatama closed 6 years ago

adhatama commented 6 years ago

I did go get github.com/awslabs/aws-lambda-go-api-proxy like in the README.md but it shows error

can't load package: package github.com/awslabs/aws-lambda-go-api-proxy: no Go files in /Users/user/Code/golang/src/github.com/awslabs/aws-lambda-go-api-proxy

Did I miss something?

israelb commented 6 years ago

I have the same error

sapessi commented 6 years ago

Thanks for the feedback @adhatama and @israelb - I'll fix the instructions. The packages are in specific sub-directories (gin, etc)

israelb commented 6 years ago

I figured out:

go get github.com/awslabs/aws-lambda-go-api-proxy/gin

thanks you @SAPessi Nice library!

adhatama commented 6 years ago

It looks like even it gave error above, it still downloaded correctly. The error message is just like some warning. And the use of specific sub-directories in go get will download all the file in that repo.

I'll close this issue.

sapessi commented 6 years ago

Thanks @adhatama, I'll keep it open for now to track the changes to the README

sapessi commented 6 years ago

Now I can close it :P