Skip to content

Commit

Permalink
[WIP] fix: fix 'See Declarative Comments Format' link (swaggo#19)
Browse files Browse the repository at this point in the history
* fix: fix 'See Declarative Comments Format' link

* fix: fix import example lib
  • Loading branch information
easonlin404 authored and pei0804 committed Apr 13, 2018
1 parent 1510a6d commit 8cf3fa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gin middleware to automatically generate RESTful API documentation with Swagger
## Usage

### Start using it
1. Add comments to your API source code, [See Declarative Comments Format](https://github.com/swaggo/swag#declarative-comments-format).
1. Add comments to your API source code, [See Declarative Comments Format](https://swaggo.github.io/swaggo.io/declarative_comments_format/).
2. Download [Swag](https://github.com/swaggo/swag) for Go by using:
```sh
$ go get github.com/swaggo/swag/cmd/swag
Expand Down
2 changes: 1 addition & 1 deletion example/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package api
import (
"fmt"
"github.com/gin-gonic/gin"
"github.com/swaggo/swag/example/simple/web"
"github.com/swaggo/swag/example/basic/web"
)

//
Expand Down

0 comments on commit 8cf3fa9

Please sign in to comment.