Skip to content

Conversation

@robertoduessmann
Copy link
Contributor

Issue #, if available:
As reported here https://goreportcard.com/report/github.com/aws/aws-lambda-go#golint the golint of the project currently is 61%.

Description of changes:
As part of the suggestions from the golint, I added comment to methods and structs to explain the context behind the code in order to increase in some percentage the golint coverage from the project.

Once the golint is increased we will be able to add the project to the awesome-go list. I tried some time ago to add the aws-lambda-go there here but was declined because the currently golint coverage of the project is below their standards.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-io
Copy link

codecov-io commented Oct 19, 2019

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #243   +/-   ##
=======================================
  Coverage   74.59%   74.59%           
=======================================
  Files          20       20           
  Lines         681      681           
=======================================
  Hits          508      508           
  Misses        128      128           
  Partials       45       45
Impacted Files Coverage Δ
events/test/readjson.go 60% <ø> (ø) ⬆️
events/cloudwatch_logs.go 63.63% <ø> (ø) ⬆️
events/duration.go 44.44% <ø> (ø) ⬆️
events/codebuild.go 45.45% <ø> (ø) ⬆️
events/test/jsoncompare.go 100% <ø> (ø) ⬆️
events/code_commit.go 27.58% <ø> (ø) ⬆️
lambda/function.go 60% <ø> (ø) ⬆️

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 e8b9e00...d851c22. Read the comment docs.

Copy link
Contributor

@diegobernardes diegobernardes left a comment

Choose a reason for hiding this comment

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

@robertoduessmann thanks for this contribution. I found one little typo, after that is fixed, the code can be merged.

@robertoduessmann
Copy link
Contributor Author

Hey @diegobernardes thanks a lot for catching it, I'm on it 👍 😃

@bmoffatt
Copy link
Collaborator

Thanks!

@bmoffatt bmoffatt merged commit 476be7d into aws:master Oct 23, 2019
@robertoduessmann robertoduessmann deleted the improve-golint branch October 23, 2019 13:30
@robertoduessmann
Copy link
Contributor Author

Thank you guys 🚀

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.

4 participants