Module declared as X but was required as Y
问题 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/core@v0.6.3: parsing go.mod: module