From 4a5654f2efa556b84c66e417a779987326dc89cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sat, 14 Nov 2020 18:27:10 +0100 Subject: [PATCH] fix lint err. --- internal/api/router.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/api/router.go b/internal/api/router.go index 08eabff2..0a205ff2 100644 --- a/internal/api/router.go +++ b/internal/api/router.go @@ -19,8 +19,10 @@ type ApiManagerCtx struct { capture types.CaptureManager } +type key int + const ( - keySessionCtx int = iota + keySessionCtx key = iota ) func New(