ok-short

module
v0.0.0-...-691314a Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: MIT

README

ok-short

Short link service built on golang

Build On

  • echo
  • qmgo
  • redis
  • mongodb

MIT license

Feature

  • Long links -> Short link
  • Jump to the original url by visiting the short link
  • Query the original link through the short link

Prepare the environment

  1. redis
  2. mongodb

Set up the above environment and modify the configs/config.yaml

Compilation

scripts/build.sh # Use scripts/build.bat on Windows
  1. Access swagger page: http://ip:port/swagger/index.html

License

Released under the MIT License

Directories

Path Synopsis
cmd
internal
pkg
app

Jump to

Keyboard shortcuts

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