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

Add go module support #189

Merged
merged 9 commits into from
May 17, 2019
Merged

Add go module support #189

merged 9 commits into from
May 17, 2019

Conversation

bhavikkumar
Copy link
Contributor

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 of dep ensure. All other steps are kept the same. See https://travis-ci.com/bhavikkumar/aws-lambda-go/builds/111472734

@bhavikkumar bhavikkumar changed the title Go modules Add go module support May 12, 2019
@codecov-io
Copy link

codecov-io commented May 12, 2019

Codecov Report

Merging #189 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43eb3b9...63f713a. Read the comment docs.

@philtay
Copy link
Contributor

philtay commented May 13, 2019

The first line of go.mod should be github.com/aws/aws-lambda-go, not github.com/bhavikkumar/aws-lambda-go.

@bhavikkumar
Copy link
Contributor Author

Good spot. I have fixed the module name.

@@ -0,0 +1,10 @@
module github.com/aws/aws-lambda-go
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks!

@bmoffatt bmoffatt merged commit f8f1173 into aws:master May 17, 2019
@bhavikkumar bhavikkumar deleted the go-modules branch May 26, 2019 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Go modules support
4 participants