Skip to content

Commit cde1aa0

Browse files
committed
docs: simplify go tool example
1 parent 2647a10 commit cde1aa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $ go get -tool github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@latest
5656
From there, each invocation of `oapi-codegen` would be used like so:
5757

5858
```go
59-
//go:generate go tool github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen -config cfg.yaml ../../api.yaml
59+
//go:generate go tool oapi-codegen -config cfg.yaml ../../api.yaml
6060
```
6161

6262
## Prior to Go 1.24

0 commit comments

Comments
 (0)