formatting code by: goimports -w=true .

This commit is contained in:
Chris Lu
2014-10-26 11:34:55 -07:00
parent a5d6e70299
commit 179d36ba0e
84 changed files with 205 additions and 170 deletions

View File

@@ -10,9 +10,10 @@ package util
import (
"bytes"
"github.com/chrislusf/weed-fs/go/glog"
"encoding/json"
"os"
"github.com/chrislusf/weed-fs/go/glog"
)
type Config struct {

View File

@@ -1,7 +1,5 @@
package util
import ()
const (
VERSION = "0.64"
)

View File

@@ -2,9 +2,10 @@ package util
import (
"bufio"
"github.com/chrislusf/weed-fs/go/glog"
"errors"
"os"
"github.com/chrislusf/weed-fs/go/glog"
)
func TestFolderWritable(folder string) (err error) {

View File

@@ -1,9 +1,10 @@
package util
import (
"github.com/chrislusf/weed-fs/go/stats"
"net"
"time"
"github.com/chrislusf/weed-fs/go/stats"
)
// Listener wraps a net.Listener, and gives a place to store the timeout