forked from go-packages/paypal
Merge pull request #80 from CodeLingoBot/rewrite
Fix function comments based on best practices from Effective Go
This commit is contained in:
commit
6f2ea3a580
|
@ -134,7 +134,7 @@ func (c *Client) GetPayments() ([]Payment, error) {
|
||||||
return c.getPayments(nil)
|
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/
|
// Endpoint: GET /v1/payments/payment/
|
||||||
func (c *Client) GetPaymentsWithFilter(filter *Filter) ([]Payment, error) {
|
func (c *Client) GetPaymentsWithFilter(filter *Filter) ([]Payment, error) {
|
||||||
return c.getPayments(filter)
|
return c.getPayments(filter)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user