From 8cc3ecb6daaa78d0f4ada8432e567b93df1c42c0 Mon Sep 17 00:00:00 2001 From: Denis Voytyuk <5462781+denisvmedia@users.noreply.github.com> Date: Sat, 16 Sep 2023 16:43:44 +0200 Subject: [PATCH] Update rule/enforce-map-style.go --- rule/enforce-map-style.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/enforce-map-style.go b/rule/enforce-map-style.go index 48b3bd33e..baa8c2b7d 100644 --- a/rule/enforce-map-style.go +++ b/rule/enforce-map-style.go @@ -37,7 +37,7 @@ func mapStyleFromString(s string) (enforceMapStyleType, error) { } } -// EnforceMapStyleRule implements a rule to enforce `make(map[type]type)` over `map[type]type{}` +// EnforceMapStyleRule implements a rule to enforce `make(map[type]type)` over `map[type]type{}`. type EnforceMapStyleRule struct { configured bool enforceMapStyle enforceMapStyleType