example_test.go

This commit is contained in:
Aliaksandr Pliutau 2016-03-07 13:12:38 +07:00
parent d7bc58ab06
commit c54e7c11c7

View File

@ -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 {