Skip to content

Commit c15cd57

Browse files
committed
Remove the NewDebug() function
1 parent 9507603 commit c15cd57

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

client.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,6 @@ func New(AccessKey string) *Client {
3939
return &Client{AccessKey: AccessKey, HTTPClient: &http.Client{}}
4040
}
4141

42-
// New creates a new MessageBird client object.
43-
func NewDebug(AccessKey string) *Client {
44-
return &Client{
45-
AccessKey: AccessKey,
46-
HTTPClient: &http.Client{},
47-
DebugLog: log.New(os.Stdout, "DEBUG", log.Lshortfile),
48-
}
49-
}
50-
5142
func (c *Client) request(v interface{}, path string, params *url.Values) error {
5243
uri, err := url.Parse(Endpoint + "/" + path)
5344
if err != nil {

0 commit comments

Comments
 (0)