A restful api example which Integrate gin, mysql and gorm, based on go.
You can run this app just with a docker environment.
Get docker first: https://www.docker.com.
git clone https://github.com/bougieL/golearning.git
cd golearning
make dev
Run the app at development mode, this mode �run with livereload function.
Build the project, the output file is at ./build/golearning
Build the app and than run it!
- http://localhost:8001 go service
- http://localhost:8002 swagger
- http://localhost:3307 mysql