From 353f227706b0fae476c5d5974d6e64b96fdbbb51 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Fri, 19 Feb 2016 11:27:06 +0000 Subject: [PATCH] tg: Renamed example, maybe this time godoc will be happy --- tg/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tg/client_test.go b/tg/client_test.go index 6f7d39d..f35d5c2 100644 --- a/tg/client_test.go +++ b/tg/client_test.go @@ -2,7 +2,7 @@ package tg_test // This function creates a basic client that connects to a broker and checks for message containing greetings. // If it finds a greeting message it will greet back the user (using the reply_to parameter) -func ExampleHelloClient() { +func ExampleCreateBrokerClient() { CreateBrokerClient("localhost:7314", func(broker *Broker, message APIMessage) { // Check if it's a text message if message.Text != nil {