Command vanity is a web server that serves go-import meta redirects for vanity domains. See "go help importpath" for details.
Vanity reads TXT records for the requested domain to determine the redirect target. For example, if you wish to use example.org as the base of your import path, create an A record that points to a vanity server:
example.org. A 18.104.22.168
Then add a TXT record for each repository that you wish to map:
example.org. TXT "go-import example.org/foo git https://github.com/example/foo" example.org. TXT "go-import example.org/bar hg https://code.google.com/p/bar"
(The author runs a public vanity instance at 22.214.171.124 that you may use for your own redirects. It comes with no SLA, so use at your own risk.)
Written by Andrew Gerrand <email@example.com>
|internal/dns||Package dns implements a full featured interface to the Domain Name System.|
|internal/letscloud||Package letscloud provides a mechanism for caching letsencrypt data in Google Cloud Storage.|