Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions v3/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ func ExampleControlPaging_manualPaging() {
// This example demonstrates how to use DirSync to manually execute a
// DirSync search request
func ExampleConn_DirSync() {
conn, err := Dial("tcp", "ad.example.org:389")
conn, err := DialURL("ldap://ad.example.org:389")
if err != nil {
log.Fatalf("Failed to connect: %s\n", err)
}
Expand Down Expand Up @@ -468,7 +468,7 @@ func ExampleConn_DirSync() {

// This example demonstrates how to use DirSync search asynchronously
func ExampleConn_DirSyncAsync() {
conn, err := Dial("tcp", "ad.example.org:389")
conn, err := DialURL("ldap://ad.example.org:389")
if err != nil {
log.Fatalf("Failed to connect: %s\n", err)
}
Expand Down
Loading