From f39e3bc08f51d858d41a1e61635c9b9f1e3e7150 Mon Sep 17 00:00:00 2001 From: qydysky Date: Wed, 23 Jun 2021 16:38:28 +0800 Subject: [PATCH] fix --- map/map.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map/map.go b/map/map.go index 27bd216..5af80be 100644 --- a/map/map.go +++ b/map/map.go @@ -11,7 +11,7 @@ type Map struct{ func (t *Map) Get(key interface{})interface{}{ if val,ok := t.m.Load(key);ok{return val} - return m.Set(key, m.New()) + return t.Set(key, t.New()) } func (t *Map) Del(key interface{}){ -- 2.39.2