toyohime/README.md
jonbetti 4872118f0b HTTPS rewrite is outside scope
This should be handled by a different server than one with a
vanity.Handler installed.

git-svn-id: file:///srv/svn/repo/toyohime/trunk@89 922d331f-388e-da47-97a9-ad700dc0b8b9
2018-06-06 03:48:49 +00:00

1.0 KiB

Vanity GoDoc

A vanity import path is any import path that can be downloaded with go get but isn't otherwise blessed by the go tool (e.g. GitHub, BitBucket, etc.). A commonly used vanity import path is "golang.org/x/...". This package attempts to mimic the behavior of "golang.org/x/..." as closely as possible.

Features

  • Redirects browsers to godoc.org (or somewhere else)
  • Redirects Go tool to VCS
  • Redirects godoc.org to browsable files

Installation

go get go.jonnrb.io/vanity

Specification

Contributing

Shoot me an email with a repo and branch to pull (or even better, use git-request-pull).