gin-api-server-template Project structure Refer to Standard Go Project Layout Prerequisites Install swaggo link Generate swagger docs: Use following code to generate swagger documents. > swag init -g .\internal\api\api.go --output .\api\docs\ Run gin server > go run .\cmd\api-server\main.go -cfgpath .\configs\config.ini