Skip to content

Commit

Permalink
doc: requires a version when current directory is not in a module (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrunhap authored Nov 14, 2022
1 parent c8d47d5 commit 0613417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ go get -u github.com/swaggo/swag/cmd/swag
Starting in Go 1.17, installing executables with `go get` is deprecated. `go install` may be used instead:

```sh
go install github.com/swaggo/swag/cmd/swag
go install github.com/swaggo/swag/cmd/swag@latest
```

3. Run the [Swag](https://github.com/swaggo/swag) at your Go project root path(for instance `~/root/go-peoject-name`),
Expand Down

0 comments on commit 0613417

Please sign in to comment.