Merge pull request #8 from RobertChristopher/patch-1

Update doc.go
This commit is contained in:
Aliaksandr Pliutau 2016-05-02 01:20:15 +07:00
commit 5075571d3d

2
doc.go
View File

@ -1,5 +1,5 @@
/* /*
Package paypalsdk provides a warepper to PayPal API (https://developer.paypal.com/webapps/developer/docs/api/). Package paypalsdk provides a wrapper to PayPal API (https://developer.paypal.com/webapps/developer/docs/api/).
The first thing you do is to create a Client (you can select API base URL using paypalsdk contants). The first thing you do is to create a Client (you can select API base URL using paypalsdk contants).
c, err := paypalsdk.NewClient("clientID", "secretID", paypalsdk.APIBaseSandBox) c, err := paypalsdk.NewClient("clientID", "secretID", paypalsdk.APIBaseSandBox)
Then you can get an access token from PayPal: Then you can get an access token from PayPal: