Skip to content

Fix for gocyclo - reducing cyclomatic complexity#196

Merged
mbernier merged 2 commits intosendgrid:masterfrom
srini156:master
Oct 28, 2017
Merged

Fix for gocyclo - reducing cyclomatic complexity#196
mbernier merged 2 commits intosendgrid:masterfrom
srini156:master

Conversation

@srini156
Copy link
Contributor

gocyclo fix for issue - #190

  • inbound.go - created helper methods to abstract the logic
  • mail_v3_test.go - created helper method for field validation validateEmailField

Report card - https://goreportcard.com/report/github.com/srini156/sendgrid-go

@thinkingserious thinkingserious added the status: code review request requesting a community code review or review from Twilio label Oct 22, 2017
@mbernier
Copy link
Contributor

Nice! Thank you!

@mbernier mbernier added difficulty: medium fix is medium in difficulty hacktoberfest labels Oct 28, 2017
@mbernier mbernier merged commit 9c7be95 into sendgrid:master Oct 28, 2017
@thinkingserious
Copy link
Contributor

Hello @srini156,

Thanks again for the PR!

It's HACKTOBERFEST! We want to show our appreciation by sending you some special Hacktoberfest swag. If you have not already, could you please fill out this form so we can send it to you? Thanks!

Team SendGrid DX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

difficulty: medium fix is medium in difficulty status: code review request requesting a community code review or review from Twilio

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants