aboutsummaryrefslogtreecommitdiff
path: root/go/util
diff options
context:
space:
mode:
authorchrislusf <chris.lu@gmail.com>2015-01-08 00:12:56 -0800
committerchrislusf <chris.lu@gmail.com>2015-01-08 00:12:56 -0800
commit31979d61929c75d6565499c6449c78d2112f51f9 (patch)
treeea9b9f8eeb0b7a2799842401192da94b14d5aa2d /go/util
parentf2b07d605199282dc392c5c10b02218ada7eac56 (diff)
parentcacfc8586957220423210a496e3064d7eafab393 (diff)
downloadseaweedfs-31979d61929c75d6565499c6449c78d2112f51f9.tar.xz
seaweedfs-31979d61929c75d6565499c6449c78d2112f51f9.zip
Merge pull request #51 from aszxqw/master
add some String() to make codes easier to read and debug
Diffstat (limited to 'go/util')
-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.