From 560c51323518f15758fb684e2d05bf6a32136328 Mon Sep 17 00:00:00 2001 From: CodeLingo Bot Date: Thu, 28 Feb 2019 21:52:50 +0000 Subject: [PATCH] Fix function comments based on best practices from Effective Go Signed-off-by: CodeLingo Bot --- payment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payment.go b/payment.go index 9ef76c8..d6a4f6a 100644 --- a/payment.go +++ b/payment.go @@ -134,7 +134,7 @@ func (c *Client) GetPayments() ([]Payment, error) { return c.getPayments(nil) } -// GetPayments retrieve payments resources from Paypal by the provided filter +// GetPaymentsWithFilter retrieve payments resources from Paypal by the provided filter // Endpoint: GET /v1/payments/payment/ func (c *Client) GetPaymentsWithFilter(filter *Filter) ([]Payment, error) { return c.getPayments(filter)