Skip to content

jonnrb/vanity

Repository files navigation

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).