- first create database
- complete
comfig.yaml
. (seeconfig_example.yaml
) - run it using docker or just build it.
docker build . -t short_link_demo
docker run -d --name short_link_demo short_link_demo
make sure you have go>=1.20.5
go run .
run go test ./internal/controller
run go generate ./internal/dao/ent