Closed Endermanbugzjfc closed 2 years ago
I do not know why logrus is only in pkg/mod. Others have a copy in both src and pkg/mod.
Tired also go get -u
, still does not work.
I decide to ignore this problem.
I will run the get command twice. One has GO111MODULE=off
.
Error
Reproduce
go get github.com/sirupsen/logrus
(Installs to$GOROOT/pkg/mod
)logrus.StandardLogger()
StandardLogger
Config
Log
Environment
OS: macOS 12.1 Sublime Text: (Unregistered) Stable Channel, Build 4126 GoGuru Executable Sha256: 77f0b981f63254d080a12f4f0693efa1bac4f864a1b1123f2e5768327f580a54