From e64cff0ab3c40119a3eab59a5b13c6fc3ba98216 Mon Sep 17 00:00:00 2001 From: d-lau Date: Thu, 28 May 2020 11:29:42 +0900 Subject: [PATCH] reviewdog comment --- notifier/github/github_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/notifier/github/github_test.go b/notifier/github/github_test.go index f396fb2..43dda7c 100644 --- a/notifier/github/github_test.go +++ b/notifier/github/github_test.go @@ -82,8 +82,7 @@ func newFakeAPI() fakeAPI { return comments, nil, nil }, FakeIssuesListLabels: func(ctx context.Context, number int, opts *github.ListOptions) ([]*github.Label, *github.Response, error) { - var labels []*github.Label - labels = []*github.Label{ + labels := []*github.Label{ &github.Label{ ID: github.Int64(371748792), Name: github.String("label 1"),