formatting code by: goimports -w=true .
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
package util
|
||||
|
||||
import ()
|
||||
|
||||
const (
|
||||
VERSION = "0.64"
|
||||
)
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user