Skip to content

Instantly share code, notes, and snippets.

@earthboundkid
Last active September 11, 2024 13:13
Show Gist options
  • Save earthboundkid/8915002ae0e531cecdfc58bc6453ac80 to your computer and use it in GitHub Desktop.
Save earthboundkid/8915002ae0e531cecdfc58bc6453ac80 to your computer and use it in GitHub Desktop.

On the canonical repository URL

I changed my GitHub username from @carlmjohnson to @earthboundkid (actually, this was a revert because my username was originally @earthboundkid). Because Go uses URLs for package management, this means that existing packages will continue to use github.com/carlmjohnson/requests (for example) and be automatically redirected to github.com/earthbound/requests. There was a discussion about adding package forwarding to Go, but as of now, this has not been implemented. If package forwarding is added to a future version of Go, the URLs of my repositories may change at that time. I may also choose to change URLs if there is a breaking change to the API of a package. The current plan is to migrate package URLs along with a change to /v2 in order to prevent broken go mod upgrades. Thank you for bearing with this transition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment