aws / aws/aws-lambda-go

could not import github.com/aws/aws-lambda-go/events (no package for import github.com/aws/aws-lambda-go/events)compiler

Open
#300 0 comments 0 reactions 0 assignees View on GitHub
troubleshooting
Dominant language
Go
Stars
3.8k
Forks
578
Avg merge
8h 18m
Merged PRs (30d)
1

Description

I have been importing these 2 libraries , but `"github.com/aws/aws-lambda-go/lambda"` works fine, but the import "github.com/aws/aws-lambda-go/events" gives error, I have tried to delete and re-install, but that didnt solve the issue either(I am on windows)
`import (
"github.com/aws/aws-lambda-go/lambda"
"github.com/aws/aws-lambda-go/events"
)
`
here is my directory containing these 2 libs
![image](https://user-images.githubusercontent.com/54927409/85921959-8e992980-b89d-11ea-8f29-7ea3059444e3.png)

And my code imports, no idea what to do
![image](https://user-images.githubusercontent.com/54927409/85921976-acff2500-b89d-11ea-9779-5855b97384b6.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.