fix: example in docs with invalid syntax (#1401)

fixes invalid syntax in one of the examples of the README
This commit is contained in:
Simon Elsbrock 2022-11-12 12:38:48 +01:00 committed by GitHub
parent 4822b271aa
commit 16b12df562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
doc.go
View File

@ -72,7 +72,7 @@ and port to use for the connection:
Port: 12345,
Zone: "",
}
c.Dialer := &net.Dialer{
c.Dialer = &net.Dialer{
Timeout: 200 * time.Millisecond,
LocalAddr: &laddr,
}