paypal/paypal.go

17 lines
288 B
Go
Raw Normal View History

2015-10-14 07:30:28 +02:00
package paypalsdk
import (
"net/http"
)
// NewClient returns new Client struct
func NewClient(clientID string, secret string, APIBase string) (*Client, error) {
return &Client{
&http.Client{},
clientID,
secret,
APIBase,
nil,
}, nil
}