Skip to content

Commit

Permalink
fix eddycjy#2
Browse files Browse the repository at this point in the history
  • Loading branch information
eddycjy committed Apr 15, 2018
1 parent 9058729 commit e1073af
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions docs/docs.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2018-03-17 21:41:17.911363936 +0800 CST m=+0.156842263
// 2018-04-15 16:49:38.431538396 +0800 HKT m=+0.041242537

package docs

Expand All @@ -21,7 +21,6 @@ var doc = `{
},
"version": "1.0"
},
"basePath": "/v1",
"paths": {
"/api/v1/articles": {
"get": {
Expand Down
1 change: 0 additions & 1 deletion docs/swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
},
"version": "1.0"
},
"basePath": "/v1",
"paths": {
"/api/v1/articles": {
"get": {
Expand Down
1 change: 0 additions & 1 deletion docs/swagger/swagger.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
basePath: /v1
info:
contact: {}
description: An example of gin
Expand Down
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ import (

// @license.name MIT
// @license.url https://github.com/EDDYCJY/go-gin-example/blob/master/LICENSE

// @BasePath /v1
func main() {
endless.DefaultReadTimeOut = setting.ReadTimeout
endless.DefaultWriteTimeOut = setting.WriteTimeout
Expand Down

0 comments on commit e1073af

Please sign in to comment.