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
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@latest
42
42
43
43
## Install
44
44
45
-
## For Go 1.24+
45
+
###For Go 1.24+
46
46
47
47
It is recommended to follow [the `go tool` support available from Go 1.24+](https://www.jvt.me/posts/2025/01/27/go-tools-124/) for managing the dependency of `oapi-codegen` alongside your core application.
48
48
@@ -59,7 +59,7 @@ From there, each invocation of `oapi-codegen` would be used like so:
59
59
//go:generate go tool oapi-codegen -config cfg.yaml ../../api.yaml
60
60
```
61
61
62
-
## Prior to Go 1.24
62
+
###Prior to Go 1.24
63
63
64
64
It is recommended to follow [the `tools.go` pattern](https://www.jvt.me/posts/2022/06/15/go-tools-dependency-management/) for managing the dependency of `oapi-codegen` alongside your core application.
0 commit comments