Skip to content

cxweoth/gin-api-server-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages