sirupsen / logrus

Structured, pluggable logging for Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Path error during "go install"

Reclai opened this issue · comments

I am downloading logrus for my honeypot when I noticed this

go: finding module for package github.com/Sirupsen/logrus
go: finding module for package github.com/fw42/go-hpfeeds
go: finding module for package github.com/lib/pq/oid
go: found github.com/Sirupsen/logrus in github.com/Sirupsen/logrus v1.8.1
go: found github.com/fw42/go-hpfeeds in github.com/fw42/go-hpfeeds v0.0.0-20130602172243-651ce0355974
go: found github.com/lib/pq/oid in github.com/lib/pq v1.10.3
go: github.com/betheroot/pghoney imports
github.com/Sirupsen/logrus: github.com/Sirupsen/logrus@v1.8.1: parsing go.mod:
module declares its path as: github.com/sirupsen/logrus
but was required as: github.com/Sirupsen/logrus

Can someone fix this or tell me how to fix for myself?

The betheroot/pghoney project needs updating, as it's referencing logrus under the old name (which used a capital S for Sirupsen); https://github.com/betheroot/pghoney/blob/master/main.go#L13

Logrus was renamed to github.com/sirupsen/logrus in 2016 (#384). You may try to open a pull request in https://github.com/betheroot/pghoney to fix it, but I don't see any activity on that repository for the last 5 Years, so I suspect it's no longer maintained.