-
- Downloads
feat: Add api doc example with swaggo/swag
* based on 2dba85db * build with `make api-docs` * Swagger UI available at `/api/docs/index.html`
Showing
- .gitignore 2 additions, 0 deletions.gitignore
- Makefile 8 additions, 0 deletionsMakefile
- api/docs/docs.go 181 additions, 0 deletionsapi/docs/docs.go
- api/v1/api.go 12 additions, 0 deletionsapi/v1/api.go
- api/v1/shows.go 24 additions, 0 deletionsapi/v1/shows.go
- cmd/tank/web.go 9 additions, 4 deletionscmd/tank/web.go
- go.mod 6 additions, 5 deletionsgo.mod
- go.sum 142 additions, 26 deletionsgo.sum
api/docs/docs.go
0 → 100644
... | ... | @@ -6,15 +6,16 @@ require ( |
github.com/codegangsta/cli v1.20.0 | ||
github.com/coreos/go-oidc v2.0.0+incompatible | ||
github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7 | ||
github.com/gin-gonic/gin v1.4.0 | ||
github.com/gin-gonic/gin v1.7.7 | ||
github.com/jinzhu/gorm v1.9.8 | ||
github.com/kr/pretty v0.1.0 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.1 // indirect | ||
github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35 // indirect | ||
github.com/rs/cors v1.6.0 | ||
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect | ||
github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd // indirect | ||
github.com/swaggo/gin-swagger v1.4.1 | ||
github.com/swaggo/swag v1.8.0 | ||
golang.org/x/oauth2 v0.0.0-20190319182350-c85d3e98c914 | ||
gopkg.in/gormigrate.v1 v1.5.0 | ||
gopkg.in/square/go-jose.v2 v2.3.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20190709130402-674ba3eaed22 | ||
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 | ||
) |
This diff is collapsed.
Please register or sign in to comment