Commit 3d2089f
committed
Fix: ExampleLastInsertId() -> ExampleResult_LastInsertId()
The new tests analyzer reports common mistakes in declarations of
tests, fuzzers, benchmarks, and examples in test packages, such as
malformed names, incorrect signatures, or examples that document
non-existent identifiers. Some of these mistakes may cause tests
not to run. This analyzer is among the subset of analyzers that
are run by go test.
See:
https://go.dev/doc/go1.24#vet
https://go.dev/blog/examples#example-function-names1 parent b9933eb commit 3d2089f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments