You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ echo middleware to automatically generate RESTful API documentation with Swagger
14
14
1. Add comments to your API source code, [See Declarative Comments Format](https://github.com/swaggo/swag#declarative-comments-format).
15
15
2. Download [Swag](https://github.com/swaggo/swag) for Go by using:
16
16
```sh
17
-
$ go get github.com/swaggo/swag/cmd/swag
17
+
$ go get -d github.com/swaggo/swag/cmd/swag
18
18
```
19
19
3. Run the [Swag](https://github.com/swaggo/swag) in your Go project root folder which contains `main.go` file, [Swag](https://github.com/swaggo/swag) will parse comments and generate required files(`docs` folder and `docs/doc.go`).
0 commit comments