Remove debug

This commit is contained in:
Amarpreet Minhas 2022-09-10 21:04:35 -04:00
parent 28ba3ae5fc
commit 09b091d660
3 changed files with 0 additions and 7 deletions

2
go.mod
View file

@ -1,5 +1,3 @@
module git.minhas.io/asara/gomdb
go 1.19
require github.com/davecgh/go-spew v1.1.1 // indirect

2
go.sum
View file

@ -1,2 +0,0 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

View file

@ -7,8 +7,6 @@ import (
"fmt"
"net/http"
"net/url"
"github.com/davecgh/go-spew/spew"
)
const (
@ -139,7 +137,6 @@ func (api *OmdbApi) MovieByTitle(query *QueryData) (*MovieResult, error) {
// MovieByImdbID returns a MovieResult given a ImdbID ex:"tt2015381"
func (api *OmdbApi) MovieByImdbID(query *QueryData) (*MovieResult, error) {
spew.Dump(api.requestAPI("id", query.ImdbId, query.Year, query.SearchType, query.Season, query.Episode))
resp, err := api.requestAPI("id", query.ImdbId, query.Year, query.SearchType, query.Season, query.Episode)
if err != nil {