Skip to content

Commit

Permalink
remove jsonByte from print statement
Browse files Browse the repository at this point in the history
Signed-off-by: viveksahu26 <vivekkumarsahu650@gmail.com>
  • Loading branch information
viveksahu26 committed Sep 14, 2022
1 parent 0a6f409 commit 985338d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ func handleShortUrl(writer http.ResponseWriter, req *http.Request) {

// Converting response JSON form
jsonBytes, err := json.Marshal(resp)
fmt.Println("jsonBytes: ", jsonBytes)

if err != nil {
writer.Write([]byte("Failed to generate response"))
}
Expand Down

0 comments on commit 985338d

Please sign in to comment.