Fix for golint ./...

This commit is contained in:
178inaba 2017-04-20 21:20:40 +09:00
parent c417db5189
commit 68843f4dd0
4 changed files with 6 additions and 5 deletions

View file

@ -26,7 +26,7 @@ func (c *Client) GetNotifications(ctx context.Context) ([]*Notification, error)
return notifications, nil
}
// GetNotifications return notification.
// GetNotification return notification.
func (c *Client) GetNotification(ctx context.Context, id int64) (*Notification, error) {
var notification Notification
err := c.doAPI(ctx, http.MethodGet, fmt.Sprintf("/api/v1/notifications/%d", id), nil, &notification, nil)