go mod module declares its path as but was required as

module declares its path as: github.com/sirupsen/logrus
but was required as: github.com/Sirupsen/logrus


replace (
 github.com/Sirupsen/logrus v1.5.0 => github.com/sirupsen/logrus v1.5.0
 github.com/sirupsen/logrus v1.5.0 => github.com/Sirupsen/logrus v1.5.0

)

原文地址:https://www.cnblogs.com/xuchenCN/p/12625710.html