mirror of
https://github.com/panjf2000/ants.git
synced 2025-12-16 18:11:03 +00:00
goreport: lint warning on code comment structure
Added a newline between group comment and exported variable line 😄
This commit is contained in:
parent
d6076c09aa
commit
dec0401083
1
ants.go
1
ants.go
@ -42,6 +42,7 @@ const (
|
|||||||
var (
|
var (
|
||||||
// Error types for the Ants API.
|
// Error types for the Ants API.
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
// ErrInvalidPoolSize will be returned when setting a negative number as pool capacity.
|
// ErrInvalidPoolSize will be returned when setting a negative number as pool capacity.
|
||||||
ErrInvalidPoolSize = errors.New("invalid size for pool")
|
ErrInvalidPoolSize = errors.New("invalid size for pool")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user