gemnasium / logrus-graylog-hook

Graylog hook for logrus
MIT License
87 stars 63 forks source link

Append v3 in module path and update travis configuration to use go modules #42

Closed psampaz closed 5 years ago

psampaz commented 5 years ago

According to official docs the module path should be

github.com/gemnasium/logrus-graylog-hook/v3

and not

github.com/gemnasium/logrus-graylog-hook

This is the official documentation for reference:

https://github.com/golang/go/wiki/Modules#semantic-import-versioning

Also

https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

Major branch: Update the go.mod file to include a /v3 at the end of the module path in the module directive (e.g., module github.com/my/module/v3).

gravis commented 5 years ago

You're absolutely right, thanks. I'll merge when it's not WIP anymore.