Skip to content

Commit

Permalink
fix: golangci-lint: unused type: delete chatKey
Browse files Browse the repository at this point in the history
Co-authored-by: golangci-lint action
  • Loading branch information
vitaliy-ukiru committed Nov 26, 2023
1 parent 4ffe60c commit 07513ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions storages/memory/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 07513ca

Please sign in to comment.