Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Remove unused log #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions factorial.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package factorial

import (
"bytes"
"log"
"net/http"
"net/url"
)
Expand Down Expand Up @@ -71,7 +70,6 @@ func (c Client) get(endpoint string, q url.Values) (*http.Response, error) {
}

func (c Client) post(endpoint string, body []byte) (*http.Response, error) {
log.Println("[DEBUG] url", c.apiURL+endpoint, string(body))
req, err := http.NewRequest(http.MethodPost, c.apiURL+endpoint, bytes.NewReader(body))
if err != nil {
return nil, err
Expand Down