From dec04010834ccd3691eb1776045ce3b9310ce26c Mon Sep 17 00:00:00 2001 From: Sarath Sadasivan Pillai Date: Thu, 4 Apr 2019 13:52:12 +0200 Subject: [PATCH] goreport: lint warning on code comment structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added a newline between group comment and exported variable line 😄 --- ants.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ants.go b/ants.go index df1f88b..3dde641 100644 --- a/ants.go +++ b/ants.go @@ -42,6 +42,7 @@ const ( var ( // Error types for the Ants API. //--------------------------------------------------------------------------- + // ErrInvalidPoolSize will be returned when setting a negative number as pool capacity. ErrInvalidPoolSize = errors.New("invalid size for pool")