An open API service indexing awesome lists of open source software.

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

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