Go Gin Boilerplate. A development boilerplate based on the Gin framework, aimed at helping developers quickly build and develop web applications.
MIT License
A development boilerplate based on the Gin framework, aimed at helping developers quickly build and develop web applications.
Go Gin Cobra Viper Gorm Gin-Swagger Air Logrus Lumberjack Zap Jwt
git clone https://github.com/sanjayheaven/ggb.git
cd ggb
go mod download
configs
directory, copy the config.example.yaml
file, and rename it to config.yaml
.cp configs/config.example.yaml configs/config.yaml
config.yaml
file.vi configs/config.yaml
air
go run main.go server
make build
Deploy the application using docker-compose. Ensure that Docker is installed on the server, and you are familiar with the usage of docker compose.
deployments/docker-compose.yml
configuration file to the project root directory.docker compose up -d
Star the project
Welcome to submit issue. Thank you for your support
Help promote it on social media and recommend it to friends
You can also sponsor a cup of coffee on Ko-Fi or Buy Me A Coffee