module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 7, 2021
License: Apache-2.0
Opens a new window with license information.
README
¶
gin-starter
Based on this template, we can build our application faster.
- Based on Gin web framework
- Simple CRUD application
- Use route-service-dao three layers
- Provide database migration
- Provide model validation and i18n error code translate
- Provide bussiness error codes for our application domain
How to run
local build and run
-
install postgres and golang in your computer
-
make local-build
make local-run
docker build and run
todo...
Contribution
- provide your idea about this template in issue or raise PR request
Roadmap
- Implement auth middleware
- business error codes should design better
- add more script in makefile to build and run, like docker, docker-compose
- add unit test
- add CI/CD
- separate util package to different package to make more good design
Click to show internal directories.
Click to hide internal directories.