feat: use logrus

Signed-off-by: Sphericalkat <amolele@gmail.com>
This commit is contained in:
sphericalkat committed 2023-05-26 19:42:53 +05:30
1 parent 6117c82d32
commit 244804fe85
6 files changed
+168 -4

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@ package client
import (
"fmt"
log "github.com/sirupsen/logrus"
"io"
"log"
"net/http"
"strings"
@@ -87,6 +87,6 @@ func PostData(postId string) (*entities.MediumResponse, error) {
log.Printf("Error unmarshalling body from response %v\n", err)
return nil, err
}
return &mr, nil
}