gopkgs

command module
v1.0.1-0...-cbd2a5d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2020 License: MIT Imports: 1 Imported by: 0

README

Go Packages

Build Status

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

Live

I launch up an HTTP service(https://pkg.clevergo.tech) for meeting my own needs. With this service, you only need a domain name to customize the import path of your package.

The rest of sections introduces how to host on your own server.

Requirements

  • MySQL/MariaDB.
  • Redis.
  • Auth0 Application.

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL