From 07513ca8abbab152febe66e7bc1fd8c862bd0999 Mon Sep 17 00:00:00 2001 From: Vitaliy Ukiru <33477790+vitaliy-ukiru@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:23:03 +0500 Subject: [PATCH] fix: golangci-lint: unused type: delete chatKey Co-authored-by: golangci-lint action --- storages/memory/memory.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/storages/memory/memory.go b/storages/memory/memory.go index 35ab9b0..1f26837 100644 --- a/storages/memory/memory.go +++ b/storages/memory/memory.go @@ -31,8 +31,6 @@ type record struct { data map[string]any } -type chatKey string - // do exec `call` and save modification to storage. // It helps not to copy the code. func (m *Storage) do(key fsm.StorageKey, call func(*record)) {