leighmcculloch / vangen

Tool for generating static HTML for Go vanity import paths.

Home Page:https://4d63.com/vangen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update godoc.org to pkg.go.dev in generated html

h7kanna opened this issue · comments

Hi @leighmcculloch,

This might be a breaking change ( in the generated HTML will have pkg.go.dev instead of godoc.org).

As godoc.org now redirects to pkg.go.dev. Should the generator reflect it?

This is not needed per se, as it redirects automatically.

I think this is a good idea 👏🏻.

Maybe we should make the base URL configurable, defaulting to https://pkg.go.dev.

Cool, I can make this change and raise a PR. I liked vangen, nice tool. Thanks,

PRs welcome!