这是indexloc提供的服务,不要输入任何密码
Skip to content

gosuri/vanitypkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vanitypkg GoDoc Build Status

vanitypkg provides a server that hosts vanity package names for Go package hosted on github.

Usage

$ vanitypkg -github-user=<user> -port=<port>

Example

# start on port 80 using sudo
$ sudo vanitypkg -github-user=gosuri -port=80

# make example.com resolvable, this should be dns entry
$ sudo echo "127.0.0.1 example.com" >> /etc/hosts 

# production deploys should run on https, use -insecure flag locally
$ go get -insecure example.com/vanitypkg
...
$ ls $GOPATH/src/example.com
vanitypkg

Installation

$ go get github.com/gosuri/vanitypkg/cmd

About

vanitypkg provides a server that hosts vanity package names for Go package hosted on github

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published