diff options
| author | yanyiwu <i@yanyiwu.com> | 2015-01-08 15:54:50 +0800 |
|---|---|---|
| committer | yanyiwu <i@yanyiwu.com> | 2015-01-08 15:54:50 +0800 |
| commit | cacfc8586957220423210a496e3064d7eafab393 (patch) | |
| tree | ea9b9f8eeb0b7a2799842401192da94b14d5aa2d /go/util/concurrent_read_map.go | |
| parent | f2b07d605199282dc392c5c10b02218ada7eac56 (diff) | |
| download | seaweedfs-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.go | 4 |
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. |
