Skip to content

An HTTP service for customizing import path of your Go packages.

License

Notifications You must be signed in to change notification settings

razonyang/gopkgs

Repository files navigation

Go Packages

Build Status

A self-host HTTP service that allow customizing your Go package import paths.

Features

  • Reports.
  • 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