From 38aeb9eaa0bab333a39585477d6c52bf49b9e385 Mon Sep 17 00:00:00 2001 From: Vadim Inshakov Date: Fri, 27 Sep 2024 01:52:47 +0500 Subject: [PATCH] fix example client --- examples/client/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/client/client.go b/examples/client/client.go index 9776f45..82d1d7a 100644 --- a/examples/client/client.go +++ b/examples/client/client.go @@ -8,7 +8,7 @@ import ( "strconv" ) -const coordinatorAddr = "localhost:3000" +const coordinatorAddr = "0.0.0.0:3000" func main() { key, value := "somekey", "somevalue" @@ -34,6 +34,6 @@ func main() { if err != nil { panic(err) } - fmt.Printf("got value for key '%s': %s", key+strconv.Itoa(i), string(v.Value)+strconv.Itoa(i)) + fmt.Printf("got value for key '%s': %s\n", key+strconv.Itoa(i), string(v.Value)+strconv.Itoa(i)) } }