I'm trying to use grafana/grafana/pkg/tsdb
package in my module. I don't think this problem is specific to grafana but here it goes:
$ go get -u github.com/grafana/grafana/pkg/tsdb
go: finding github.com/inconshreveable/log15 latest
go: finding github.com/go-macaron/session latest
go: finding golang.org/x/oauth2 latest
go: finding github.com/teris-io/shortid latest
go: github.com/grafana/grafana/pkg/tsdb imports
github.com/go-xorm/core: github.com/go-xorm/[email protected]: parsing go.mod:
module declares its path as: xorm.io/core
but was required as: github.com/go-xorm/core
It says that the package tsdb
is importing xorm as github.com/go-xorm/core
, but the module declares itself as xorm.io/core
.
Looking at Grafana's go.mod file, it's using github.com/go-xorm/core
and going to github.com/go-xorm/core, it says the project is now archived... and it's go.mod file indeed declared itself as xorm.io/core
...
and suggestions on how I can resolve this issue?
github.com/go-xorm/core
. Looks like xorm migrated their repos to gitea... – Ilario