init repo #3
Annotations
10 errors
lint:
pool.go#L78
deferInLoop: Possible resource leak, 'defer' is called in the 'for' loop (gocritic)
|
lint:
pool.go#L38
return statements should not be cuddled if block has more than two lines (wsl)
|
lint:
pool.go#L82
declarations should never be cuddled (wsl)
|
lint:
pool.go#L85
only cuddled expressions if assigning variable or using from line above (wsl)
|
lint:
pool.go#L83
only one cuddle assignment allowed before go statement (wsl)
|
lint:
pool.go#L69
for statement without condition should never be cuddled (wsl)
|
lint:
pool.go#L67
go statements can only invoke functions assigned on line above (wsl)
|
lint:
pool.go#L30
found a struct that contains a context.Context field (containedctx)
|
lint:
examples_test.go#L13
pool.Config is missing field Timeout (exhaustruct)
|
lint:
examples_test.go#L38
pool.Config is missing field Timeout (exhaustruct)
|