Open shekodn opened 5 years ago
Hi @shekodn, thank you for raising this.
You are totally right, this library used to be named as github.com/Sirupsen/logrus
. Some time ago the Sirupsen
profile was renamed to sirupsen
(and all the projects importing this library faced the problem you described). So, the right import path now is github.com/sirupsen/logrus
.
Feel free to provide a PR to fix it, yeah! Thank you in advance :)
In the current repository there is a dependency called logrus and it is imported from github.com/Sirupsen/logrus
However, according to logrus documentation, everything using logrus will need to use the lower-case: github.com/sirupsen/logrus. Any package that isn't, should be changed.
With that being said, can I open a PR in order to fix the issue if you consider there is one? While following the tutorial in a personal project I was having problems such as:
Then, after making the dependency change as logrus suggested, I was able to build and run my personal project following the suggested guidelines from
rumyantseva/production-ready-microservices
GO ENV