Skip to content

Commit 03778da

Browse files
committed
Updated example name to pass linter
1 parent 35df0bd commit 03778da

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ func ExampleConn_ExternalBind() {
393393
// Conduct ldap queries
394394
}
395395

396-
// ExampleWhoAmI demonstrates how to run a whoami request according to https://tools.ietf.org/html/rfc4532
397-
func ExampleWhoAmI() {
396+
// ExampleConn_WhoAmI demonstrates how to run a whoami request according to https://tools.ietf.org/html/rfc4532
397+
func ExampleConn_WhoAmI() {
398398
conn, err := DialURL("ldap.example.org:389")
399399
if err != nil {
400400
log.Fatalf("Failed to connect: %s\n", err)

v3/examples_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ func ExampleConn_ExternalBind() {
393393
// Conduct ldap queries
394394
}
395395

396-
// ExampleWhoAmI demonstrates how to run a whoami request according to https://tools.ietf.org/html/rfc4532
397-
func ExampleWhoAmI() {
396+
// ExampleConn_WhoAmI demonstrates how to run a whoami request according to https://tools.ietf.org/html/rfc4532
397+
func ExampleConn_WhoAmI() {
398398
conn, err := DialURL("ldap.example.org:389")
399399
if err != nil {
400400
log.Fatalf("Failed to connect: %s\n", err)

0 commit comments

Comments
 (0)