This is my go http service template. It sports features like:
- validation support (see debug module for example)
- jwt validation support
- module support (see debug module for example)
To create a new project simply invoke this script, (make sure to use your own project name instead of <project_name>
lol):
curl --proto '=https' --tlsv1.2 -L -sSf https://shortly.fun/boilerplate | bash -s <project_name>
After creating a new project like above you can simply run:
make run
or
just run
if you have just installed.
Running make help
will show you the rest of the targets.
This project is licensed under the GPL-3 license.