Merge pull request #80 from CodeLingoBot/rewrite

Fix function comments based on best practices from Effective Go
This commit is contained in:
Alex Pliutau 2019-03-01 10:48:30 +01:00 committed by GitHub
commit 6f2ea3a580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)