Remove debug prints

This commit is contained in:
Kalle Carlbark 2022-02-09 10:43:59 +01:00
parent 14c9b748c6
commit ffcda95b15
No known key found for this signature in database

View file

@ -2,7 +2,6 @@ package netboxgo
import ( import (
"context" "context"
"fmt"
"net/http" "net/http"
"net/url" "net/url"
"time" "time"
@ -81,10 +80,6 @@ func (s *PlatformsService) List(ctx context.Context, f *PlatformFilter) (*Platfo
var req *http.Request var req *http.Request
var err error var err error
if f == nil {
s.client.debugf("f is null!!!!!!!!!!!!!!\n")
}
encoder := schema.NewEncoder() encoder := schema.NewEncoder()
form := url.Values{} form := url.Values{}
@ -94,7 +89,6 @@ func (s *PlatformsService) List(ctx context.Context, f *PlatformFilter) (*Platfo
} }
query = form.Encode() query = form.Encode()
fmt.Printf("f: %+v\n, query: %s, platformsPath: %s\n", f, query, platformsPath)
req, err = s.client.newRequest(ctx, "GET", platformsPath, query, nil) req, err = s.client.newRequest(ctx, "GET", platformsPath, query, nil)
if err != nil { if err != nil {
return &platforms, err return &platforms, err