diff --git a/paypalsdk_test.go b/example_test.go similarity index 93% rename from paypalsdk_test.go rename to example_test.go index d884f00..51fcc04 100644 --- a/paypalsdk_test.go +++ b/example_test.go @@ -1,8 +1,8 @@ package paypalsdk_test -import "github.com/logpacker/PayPal-Go-SDK" +import paypalsdk "github.com/logpacker/PayPal-Go-SDK" -func ExampleCreatePayment() { +func Example() { // Initialize client c, err := paypalsdk.NewClient("clientID", "secretID", paypalsdk.APIBaseSandBox) if err != nil {