From da7139199e45bdd0a0bcaedb6406bf80196fe5ec Mon Sep 17 00:00:00 2001 From: Sanath Bhargav R Date: Thu, 26 Nov 2020 11:30:07 +0530 Subject: [PATCH] Update chat.go --- chat/chat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat/chat.go b/chat/chat.go index a38b96e..f218705 100644 --- a/chat/chat.go +++ b/chat/chat.go @@ -9,7 +9,7 @@ import ( type Server struct { } -func (s *Server) SayHello(ctx context.Context, message *Message) (*Message, error) { +func (s *Server) SayHello(ctx context.Context, message *Message) (*Message error) { log.Printf("Received message body from client: %s", message.Body) return &Message{Body: "Hello From the Server!"}, nil }