Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

godoc.org: shows wrong import path for forked Go projects #672

Closed
mcandre opened this issue Jan 21, 2020 · 4 comments
Closed

godoc.org: shows wrong import path for forked Go projects #672

mcandre opened this issue Jan 21, 2020 · 4 comments

Comments

@mcandre
Copy link

mcandre commented Jan 21, 2020

https://godoc.org/github.com/JFrogDev/go-rpm/yum shows import "github.com/JFrogDev/go-rpm/yum", whereas https://github.com/jfrog/go-rpm shows import ( "fmt" "github.com/cavaliercoder/go-rpm" )

@toothrot toothrot changed the title godoc.org shows wrong import path for forked Go projects godoc.org: shows wrong import path for forked Go projects Jan 21, 2020
@toothrot
Copy link

/cc @dmitshur

I'm not sure if this will be fixed in the foreseeable future.

@heschi
Copy link

heschi commented Jan 21, 2020

I don't see a bug here. The first quote is the correct import path for the fork. The second quote is from the README, which was forked unmodified from upstream. If anything is wrong, it would seem to be the README.

@dmitshur
Copy link
Contributor

For general godoc.org bugs, we use the issue tracker at https://github.com/golang/gddo/issues. I'll move this issue there.

@dmitshur dmitshur transferred this issue from golang/go Jan 22, 2020
@dmitshur
Copy link
Contributor

I agree with @heschik's analysis. There doesn't seem to be a bug in godoc.org, it is displaying an accurate import path of the "github.com/JFrogDev/go-rpm/yum" Go package.

If you want to see documentation for the "github.com/cavaliercoder/go-rpm" package, you should visit https://godoc.org/github.com/cavaliercoder/go-rpm.

I'll close this, but please comment if I have misunderstood.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants