From 6faf473cad7b694097c0f6ed8012051c7e3ebcb9 Mon Sep 17 00:00:00 2001 From: Wondertan Date: Sat, 22 Jan 2022 13:27:50 +0200 Subject: [PATCH] chore: hello mister mutex hat --- midgen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midgen.go b/midgen.go index 4d4aec7..972f1b0 100644 --- a/midgen.go +++ b/midgen.go @@ -9,8 +9,8 @@ import ( type msgIDGenerator struct { Default MsgIdFunction - topicGens map[string]MsgIdFunction topicGensLk sync.RWMutex + topicGens map[string]MsgIdFunction } func newMsgIdGenerator() *msgIDGenerator {