mirror of
https://github.com/plutov/paypal.git
synced 2025-02-13 04:06:18 +01:00
17 lines
288 B
Go
17 lines
288 B
Go
|
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
|
||
|
}
|