Added go.mod and go.sum file for Go modules support
Import path for logrus has been changed to github.com/sirupsen/logrus to match its Go.mod definition
With Go modules support, users behind firewalls can configure an accessible GOPROXY to fetch the required dependencies via this GOPROXY, and build them by themselves. (e.g. an Athens proxy configured upon a server with full Internet access).
Also, I think it's going to be the way forward for Go projects' dependency management in the future, so might as well adapt to it.
Changes in this commit:
logrus
has been changed togithub.com/sirupsen/logrus
to match its Go.mod definitionWith Go modules support, users behind firewalls can configure an accessible GOPROXY to fetch the required dependencies via this GOPROXY, and build them by themselves. (e.g. an Athens proxy configured upon a server with full Internet access).
Also, I think it's going to be the way forward for Go projects' dependency management in the future, so might as well adapt to it.