forked from go-packages/paypal
example_test.go
This commit is contained in:
parent
d7bc58ab06
commit
c54e7c11c7
|
@ -1,8 +1,8 @@
|
||||||
package paypalsdk_test
|
package paypalsdk_test
|
||||||
|
|
||||||
import "github.com/logpacker/PayPal-Go-SDK"
|
import paypalsdk "github.com/logpacker/PayPal-Go-SDK"
|
||||||
|
|
||||||
func ExampleCreatePayment() {
|
func Example() {
|
||||||
// Initialize client
|
// Initialize client
|
||||||
c, err := paypalsdk.NewClient("clientID", "secretID", paypalsdk.APIBaseSandBox)
|
c, err := paypalsdk.NewClient("clientID", "secretID", paypalsdk.APIBaseSandBox)
|
||||||
if err != nil {
|
if err != nil {
|
Loading…
Reference in New Issue
Block a user