gopkgs
gopkgs copied to clipboard
An HTTP service for customizing import path of your Go packages.
Go Packages
A self-host HTTP service that allow customizing your Go package import paths.
Features
- [x] Reports.
- [x] Badges.
- [ ] I18N.
Preview
I launch up a free HTTP service(https://gopkgs.net). With this service, you only need a domain name to customize the import path of your packages.
The rest of sections introduces how to host on your own server.
Requirements
- MySQL/MariaDB.
- Redis.
Configuration
$ cp .env.example .env
Checkout the [.env.example] for details.
Migration
$ migrate --database mysql://user:password@tcp(host:port)/dbname?query -path=/migrations up
Checkout go-migrate for details.
Start service
$ go run main.go serve