From ba2188dbbf49a0935c996d0b8137bc6885035777 Mon Sep 17 00:00:00 2001 From: Mani Soundararajan Date: Sat, 26 Nov 2016 01:04:54 +0530 Subject: [PATCH] Fixed func Address example In case someone is copy pasting from the example, it makes sense for the documentation to use the standard port 8125 instead of the administrative port 8126. --- examples_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples_test.go b/examples_test.go index dc6c2f3..63f95bb 100644 --- a/examples_test.go +++ b/examples_test.go @@ -62,7 +62,7 @@ func ExampleClient_Clone() { } func ExampleAddress() { - c, err = statsd.New(statsd.Address("192.168.0.5:8126")) + c, err = statsd.New(statsd.Address("192.168.0.5:8125")) } func ExampleErrorHandler() {