Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/razonyang/gopkgs
An HTTP service for customizing import path of your Go packages.
https://github.com/razonyang/gopkgs
custom-import custom-import-path go golang gopkgs
Last synced: 21 days ago
JSON representation
An HTTP service for customizing import path of your Go packages.
- Host: GitHub
- URL: https://github.com/razonyang/gopkgs
- Owner: razonyang
- License: mit
- Created: 2020-06-21T00:53:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-04T15:17:44.000Z (about 3 years ago)
- Last Synced: 2024-04-14T00:39:30.564Z (7 months ago)
- Topics: custom-import, custom-import-path, go, golang, gopkgs
- Language: Go
- Homepage: https://pkg.clevergo.tech
- Size: 17.3 MB
- Stars: 17
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Packages
[![Build Status](https://img.shields.io/travis/razonyang/gopkgs?style=flat-square)](https://travis-ci.org/razonyang/gopkgs)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
```shell
$ cp .env.example .env
```Checkout the [.env.example] for details.
## Migration
```shell
$ migrate --database mysql://user:password@tcp(host:port)/dbname?query -path=/migrations up
```Checkout [go-migrate](https://github.com/golang-migrate/migrate) for details.
## Start service
```shell
$ go run main.go serve
```