From bd33c3494e80e710395b509aae096b56e0389478 Mon Sep 17 00:00:00 2001 From: namhq1989 Date: Wed, 21 Dec 2022 11:15:57 +0700 Subject: [PATCH] remove tracking log reqrep --- server_reqres.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server_reqres.go b/server_reqres.go index 19b8116..2edfd6e 100644 --- a/server_reqres.go +++ b/server_reqres.go @@ -30,15 +30,10 @@ func (s Server) Request(subject string, payload []byte) (*nats.Msg, error) { // RequestWithBindData ... func (s Server) RequestWithBindData(subject string, payload []byte, result interface{}) error { msg, err := s.Request(subject, payload) - fmt.Println("data", msg.Data) - fmt.Println("err", err.Error()) if msg == nil || err != nil { - fmt.Println("1") return err } - fmt.Println("2") - // map return BytesToInterface(msg.Data, result) }