Skip to content

Commit 2de6d67

Browse files
changed go get to go install to install swag cli (#15)
1 parent 356a689 commit 2de6d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ fiber middleware to automatically generate RESTful API documentation with Swagge
1515
2. Download [Swag](https://github.com/swaggo/swag) for Go by using:
1616

1717
```sh
18-
$ go get github.com/swaggo/swag/cmd/swag
18+
$ go install github.com/swaggo/swag/cmd/swag
1919
```
2020

2121
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

Comments
 (0)