Fix function comments based on best practices from Effective Go

Signed-off-by: CodeLingo Bot <bot@codelingo.io>
This commit is contained in:
CodeLingo Bot 2019-02-28 21:52:50 +00:00
parent 7a8d9e5531
commit 560c513235

View File

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