[WIP] fix: fix 'See Declarative Comments Format' link (#19)
* fix: fix 'See Declarative Comments Format' link * fix: fix import example lib
This commit is contained in:
@@ -11,7 +11,7 @@ gin middleware to automatically generate RESTful API documentation with Swagger
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Start using it
|
### 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:
|
2. Download [Swag](https://github.com/swaggo/swag) for Go by using:
|
||||||
```sh
|
```sh
|
||||||
$ go get github.com/swaggo/swag/cmd/swag
|
$ go get github.com/swaggo/swag/cmd/swag
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ package api
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/swaggo/swag/example/simple/web"
|
"github.com/swaggo/swag/example/basic/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user