Skip to content

Commit f99123e

Browse files
docs: Document GoVersionOverride in configuration.md (#2444)
Updated `docs/configuration.md` to include a section on `GoVersionOverride`, explaining its purpose and providing an example. --- *PR created automatically by Jules for task [4075414825524292983](https://jules.google.com/task/4075414825524292983) started by @another-rex* --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: Rex P <[email protected]>
1 parent c8a2dea commit f99123e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/configuration.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,14 @@ ignore = true
9595

9696
# ... and so on
9797
```
98+
99+
## Go Version Override
100+
101+
Use the `GoVersionOverride` key to override the Go version used for scanning. This is useful when the scanner fails to detect the correct Go version or when you want to force a specific version.
102+
103+
### Example
104+
105+
```toml
106+
# Do not add a prefix (e.g. go1.20.0 is just 1.20.0)
107+
GoVersionOverride = "1.20.0"
108+
```

0 commit comments

Comments
 (0)