vanity: Files | Directories

Command vanity

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 as the base of your import path, create an A record that points to a vanity server:	A

Then add a TXT record for each repository that you wish to map:	TXT	"go-import git"	TXT	"go-import hg"

(The author runs a public vanity instance at that you may use for your own redirects. It comes with no SLA, so use at your own risk.)

Written by Andrew Gerrand <>

Package Files



internal/dnsPackage dns implements a full featured interface to the Domain Name System.
internal/letscloudPackage letscloud provides a mechanism for caching letsencrypt data in Google Cloud Storage.

Package main imports 14 packages (graph). Updated 2016-07-18. Refresh now. Tools for package owners.