Go vanity URL.
import "subosito.com/go/tiffany"
For example, you can create a server for your vanity import path:
import (
"net/http"
"subosito.com/go/tiffany"
)
func Handler(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Cache-Control", "public, max-age=300")
tiffany.Render(w, tiffany.Option{
CanonicalURL: "subosito.com/go/gotenv",
RepoURL: "https://github.com/subosito/gotenv",
})
}
http.Handle("/go/gotenv", Handler)
http.ListenAndServe(":8080", nil)