You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
230 B
17 lines
230 B
6 months ago
|
package paypal
|
||
|
|
||
|
var client *Client
|
||
|
|
||
|
type Client struct {
|
||
|
ClientId string
|
||
|
ClientSecret string
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
client = NewClient()
|
||
|
}
|
||
|
|
||
|
func NewClient() *Client {
|
||
|
return &Client{ClientId: username, ClientSecret: password}
|
||
|
}
|