Skip to content

Commit c93079c

Browse files
committed
Fix: ExampleLastInsertId() -> ExampleResult_LastInsertId()
https://go.dev/blog/examples#example-function-names
1 parent b9933eb commit c93079c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lastinsertid_example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
)
1010

1111
// This example shows the usage of Connector type
12-
func ExampleLastInsertId() {
12+
func ExampleResult_LastInsertId() {
1313

1414
connString := makeConnURL().String()
1515

0 commit comments

Comments
 (0)