Skip to content

Commit

Permalink
Updated example name to pass linter
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmcshane committed Apr 6, 2021
1 parent 35df0bd commit 03778da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ func ExampleConn_ExternalBind() {
// Conduct ldap queries
}

// ExampleWhoAmI demonstrates how to run a whoami request according to https://tools.ietf.org/html/rfc4532
func ExampleWhoAmI() {
// ExampleConn_WhoAmI demonstrates how to run a whoami request according to https://tools.ietf.org/html/rfc4532
func ExampleConn_WhoAmI() {
conn, err := DialURL("ldap.example.org:389")
if err != nil {
log.Fatalf("Failed to connect: %s\n", err)
Expand Down
4 changes: 2 additions & 2 deletions v3/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ func ExampleConn_ExternalBind() {
// Conduct ldap queries
}

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

0 comments on commit 03778da

Please sign in to comment.