Remove debug
This commit is contained in:
parent
28ba3ae5fc
commit
09b091d660
3 changed files with 0 additions and 7 deletions
2
go.mod
2
go.mod
|
@ -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
2
go.sum
|
@ -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=
|
3
gomdb.go
3
gomdb.go
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue