diff options
| author | chrislusf <chris.lu@gmail.com> | 2015-03-10 00:20:31 -0700 |
|---|---|---|
| committer | chrislusf <chris.lu@gmail.com> | 2015-03-10 00:20:34 -0700 |
| commit | b07d81fb088638909ace217f4f2eb7927f094682 (patch) | |
| tree | 3d01c017c05e82a78094fcbc5cf988a6cd6509d1 /go/util/file_util.go | |
| parent | b4cb8bfd27687cb1bb95f63bc953d02116d02016 (diff) | |
| download | seaweedfs-b07d81fb088638909ace217f4f2eb7927f094682.tar.xz seaweedfs-b07d81fb088638909ace217f4f2eb7927f094682.zip | |
follow golint suggestions
Diffstat (limited to 'go/util/file_util.go')
| -rw-r--r-- | go/util/file_util.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/util/file_util.go b/go/util/file_util.go index 30e24f001..ab1453395 100644 --- a/go/util/file_util.go +++ b/go/util/file_util.go @@ -26,8 +26,8 @@ func TestFolderWritable(folder string) (err error) { func Readln(r *bufio.Reader) ([]byte, error) { var ( - isPrefix bool = true - err error = nil + isPrefix = true + err error line, ln []byte ) for isPrefix && err == nil { |
