Skip to content

A short-link backend written in go. Write this project to test go-scv-tpl.

Notifications You must be signed in to change notification settings

thorn-jmh/short-link-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Short-Link-Demo

How to run it

  1. first create database
  2. complete comfig.yaml. (see config_example.yaml)
  3. run it using docker or just build it.

Docker

docker build . -t short_link_demo
docker run -d --name short_link_demo short_link_demo

Go build

make sure you have go>=1.20.5

go run .

Test

run go test ./internal/controller

CodeGen

run go generate ./internal/dao/ent

About

A short-link backend written in go. Write this project to test go-scv-tpl.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages