From 16b12df5625ea0c5486a3e5828345c7ce1de22ae Mon Sep 17 00:00:00 2001 From: Simon Elsbrock Date: Sat, 12 Nov 2022 12:38:48 +0100 Subject: [PATCH] fix: example in docs with invalid syntax (#1401) fixes invalid syntax in one of the examples of the README --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.go b/doc.go index f00f5722..545648af 100644 --- a/doc.go +++ b/doc.go @@ -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, }