go-playground / webhooks

:fishing_pole_and_fish: Webhook receiver for GitHub, Bitbucket, GitLab, Gogs
MIT License
950 stars 238 forks source link

Go modules support #125

Closed Toshik1978 closed 3 years ago

Toshik1978 commented 3 years ago

@deankarn concerning our discussion about go modules support. I've prepared this PR. What do you think?

  1. I've updated linter to the latest golangci-lint and added it to CI pipeline. To prevent future issues with bad linting.
  2. During linting I've found some old issues and fix them too. Now models looks more consistent. It's backward incompatible. But changes very-very simple for the users. And I think it's important to do it.
coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 88.273% when pulling c99be7dbb81722b3548d4df71931ab4f140dfd02 on v6-go-modules into e6bb8aa4b780f448c897b805f59813f8ed8423ab on v6.