Skip to content

Implements the Golang remote import paths protocol to act as a vanity URL server for Go import paths

License

Notifications You must be signed in to change notification settings

rotationalio/vanity

Repository files navigation

Golang Vanity URLs for Import Paths

This package implements a server that can respond to the golang import paths protocol and redirect go tool to the correct repository path so that we can host our go packages at go.rotational.io instead of github.com/rotationalio.

This server implements some Rotational specific tools. If you're interested in hosting your own vanity URLs for Go packages, I suggest reading Making a Golang Vanity URL by Jon Betti and using his go.jonrb.io/vanity server as a starting place.