-
Notifications
You must be signed in to change notification settings - Fork 559
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
Add go module support #189
Conversation
Codecov Report
@@ Coverage Diff @@
## master #189 +/- ##
======================================
Coverage 77.2% 77.2%
======================================
Files 18 18
Lines 636 636
======================================
Hits 491 491
Misses 104 104
Partials 41 41 Continue to review full report at Codecov.
|
The first line of |
Good spot. I have fixed the module name. |
@@ -0,0 +1,10 @@ | |||
module github.com/aws/aws-lambda-go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks!
This resolves #181
Initialized go modules from go deps. Modified the testRuntimeStackTrace test to compare slice of the package path instead of the raw string. as only the last 5 packages/directories are returned from frame.path.
Modified the Travis-CI job to have a job which sets GO111MODULE to on and overrides the before_install and install step to use
go mod download
instead ofdep ensure
. All other steps are kept the same. See https://travis-ci.com/bhavikkumar/aws-lambda-go/builds/111472734