From 8d8a5f8a8689a5259083bec96fd4c37872f3bb70 Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Tue, 15 Jun 2021 10:46:44 +0300 Subject: [PATCH] [#12] Ensuring that pool implements interface Signed-off-by: Denis Kirillov --- pkg/pool/pool.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/pool/pool.go b/pkg/pool/pool.go index 97bd0e2..c57d3f0 100644 --- a/pkg/pool/pool.go +++ b/pkg/pool/pool.go @@ -71,6 +71,8 @@ type clientPack struct { healthy bool } +var _ Pool = (*pool)(nil) + type pool struct { lock sync.RWMutex sampler *Sampler