Toyohime

Fork of go.jonnrb.io/vanity

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 godocs.io (or somewhere else)
  • Redirects Go tool to VCS
  • Redirects pkg.go.dev to browsable files

Installation

Requires Go >=1.16

go install mahou-no-mori.yakumo.dev/toyohime/cmd/toyohime@latest

Specification

Description
Library and CLI for hosting custom Golang import paths
Readme Multiple Licenses 193 KiB
Languages
Go 87.5%
Shell 6.3%
Roff 3.2%
Makefile 3%