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

@ -23,10 +23,10 @@ func (c *Client) GetReports(ctx context.Context) ([]*Report, error) {
return reports, nil
}
// Report reports the report
func (c *Client) Report(ctx context.Context, accountId int64, ids []int64, comment string) (*Report, error) {
// Report reports the report
func (c *Client) Report(ctx context.Context, accountID int64, ids []int64, comment string) (*Report, error) {
params := url.Values{}
params.Set("account_id", fmt.Sprint(accountId))
params.Set("account_id", fmt.Sprint(accountID))
for _, id := range ids {
params.Add("status_ids[]", fmt.Sprint(id))
}