Self-hosted golang package name manager like gopkg.in
service. GPNM will help you to manage your package name with your own domain name and private repositories.
Start it with docker
$ sudo docker pull anbillon/gpnm:latest
$ sudo docker run -d --name=gpnm-test -p 50000:50000 -e DB_PATH=/var/lib/gpnm.db -v ./gpnm.db:/var/lib/gpnm.db hub.anbillon.com/gpnm
Then you can access http://localhost:50000/gpnm/package to try it, the default username and password is admin
and admin
.The package name will change according to your domain, so no data need to be changed if domain changed.
If everything is ready, you can put this service on internet with https
and specify your.domain
to this service. And then you can do something in cmd.
$ go get -u your.domain/foo/bar
MIT License
Copyright (C) 2018-present Anbillon Team
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.