https://github.com/nirmalvatsyayan/golang-swagger-integration
A basic template for swagger integration for golang backend using gin framework
https://github.com/nirmalvatsyayan/golang-swagger-integration
backend gin-gonic golang rest-api swagger swaggo
Last synced: 20 days ago
JSON representation
A basic template for swagger integration for golang backend using gin framework
- Host: GitHub
- URL: https://github.com/nirmalvatsyayan/golang-swagger-integration
- Owner: NirmalVatsyayan
- Created: 2019-06-13T05:03:54.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-13T05:08:09.000Z (almost 7 years ago)
- Last Synced: 2023-03-03T18:03:49.356Z (about 3 years ago)
- Topics: backend, gin-gonic, golang, rest-api, swagger, swaggo
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# goLang-swagger-integration
swagger demo for golang backend using gin
Perform below steps:
1) go get -u github.com/swaggo/swag/cmd/swag
2) /Users/nirmalvatsyayan/Desktop/NirmalVatsyayan/gocode/bin/swag init
3) go get -u github.com/swaggo/gin-swagger
4) go get -u github.com/swaggo/gin-swagger/swaggerFiles
5) go run main.go
6) Get swagger interface using http://localhost:3000/swagger/index.html