From af41b19e51090bf8a2562178e176eaa22ce38333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=BE=B7=E6=BB=A1?= Date: Wed, 24 Feb 2021 14:09:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0sync.Map=E6=96=87=E4=BB=B6,?= =?UTF-8?q?=20=E5=BE=85=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- easymap/{normal_map.go => normal.go} | 0 easymap/sync_normal.go | 8 ++++++++ easymap/sync_segment.go | 8 ++++++++ 3 files changed, 16 insertions(+) rename easymap/{normal_map.go => normal.go} (100%) create mode 100644 easymap/sync_normal.go create mode 100644 easymap/sync_segment.go diff --git a/easymap/normal_map.go b/easymap/normal.go similarity index 100% rename from easymap/normal_map.go rename to easymap/normal.go diff --git a/easymap/sync_normal.go b/easymap/sync_normal.go new file mode 100644 index 0000000..6c1107d --- /dev/null +++ b/easymap/sync_normal.go @@ -0,0 +1,8 @@ +// Package easymap... +// +// Description : 内置的sync.Map +// +// Author : go_developer@163.com<张德满> +// +// Date : 2021-02-24 2:08 下午 +package easymap diff --git a/easymap/sync_segment.go b/easymap/sync_segment.go new file mode 100644 index 0000000..43ef504 --- /dev/null +++ b/easymap/sync_segment.go @@ -0,0 +1,8 @@ +// Package easymap... +// +// Description : 内置sync.Map + segment +// +// Author : go_developer@163.com<张德满> +// +// Date : 2021-02-24 2:08 下午 +package easymap