Skip to content

Commit 9006f56

Browse files
committed
review
1 parent 91ee4cd commit 9006f56

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

go.sum

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/exhaustruct.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
)
1010

1111
func NewExhaustruct(settings *config.ExhaustructSettings) *goanalysis.Linter {
12-
include, exclude := []string{}, []string{}
12+
var include, exclude []string
1313

1414
if settings != nil {
1515
include = settings.Include

0 commit comments

Comments
 (0)