A tiny HTTP server for supporting custom Golang import paths
A tiny HTTP server for supporting custom Golang import paths
sally is a small HTTP service you can host to serve vanity import paths for Go modules.
To build sally from source, use:
go install go.uber.org/sally@latestAlternatively, get a pre-built Docker image from https://github.com/uber-go/sally/pkgs/container/sally.
Create a YAML file with the following structure:
…Run sally like so:
$ sallyThis will read from sally.yaml and serve on port 8080.
To use a different port and/or configuration file,
use the -yml and -port flags.
$ sally -yml site.yaml -port 5000You can provide your own custom templates. For this, create a directory with .html
templates and provide it via the -templates flag. You only need to provide the
templates you want to override. See templates for the available
templates.
No open issues yet, or sync has not completed.