aboutsummaryrefslogtreecommitdiff
path: root/go/util/concurrent_read_map.go
diff options
context:
space:
mode:
authoryanyiwu <i@yanyiwu.com>2015-01-08 15:54:50 +0800
committeryanyiwu <i@yanyiwu.com>2015-01-08 15:54:50 +0800
commitcacfc8586957220423210a496e3064d7eafab393 (patch)
treeea9b9f8eeb0b7a2799842401192da94b14d5aa2d /go/util/concurrent_read_map.go
parentf2b07d605199282dc392c5c10b02218ada7eac56 (diff)
downloadseaweedfs-cacfc8586957220423210a496e3064d7eafab393.tar.xz
seaweedfs-cacfc8586957220423210a496e3064d7eafab393.zip
add some String() to make codes easier to read and debug
Diffstat (limited to 'go/util/concurrent_read_map.go')
-rw-r--r--go/util/concurrent_read_map.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/go/util/concurrent_read_map.go b/go/util/concurrent_read_map.go
index d16fdbcaf..880fe54e3 100644
--- a/go/util/concurrent_read_map.go
+++ b/go/util/concurrent_read_map.go
@@ -1,6 +1,8 @@
package util
-import "sync"
+import (
+ "sync"
+)
// A mostly for read map, which can thread-safely
// initialize the map entries.