Browse Source

go fmt

pull/719/head
Chris Lu 6 years ago
parent
commit
5c467083e5
  1. 5
      weed/msgqueue/kafka/kafka_queue.go
  2. 3
      weed/msgqueue/log/log_queue.go
  3. 7
      weed/server/filer_server.go

5
weed/msgqueue/kafka/kafka_queue.go

@ -1,11 +1,10 @@
package kafka
import (
_ "github.com/go-sql-driver/mysql"
"github.com/chrislusf/seaweedfs/weed/msgqueue"
"github.com/golang/protobuf/proto"
"github.com/Shopify/sarama"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/msgqueue"
"github.com/golang/protobuf/proto"
)
func init() {

3
weed/msgqueue/log/log_queue.go

@ -1,10 +1,9 @@
package kafka
import (
_ "github.com/go-sql-driver/mysql"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/msgqueue"
"github.com/golang/protobuf/proto"
"github.com/chrislusf/seaweedfs/weed/glog"
)
func init() {

7
weed/server/filer_server.go

@ -1,6 +1,8 @@
package weed_server
import (
"net/http"
"github.com/chrislusf/seaweedfs/weed/filer2"
_ "github.com/chrislusf/seaweedfs/weed/filer2/cassandra"
_ "github.com/chrislusf/seaweedfs/weed/filer2/leveldb"
@ -8,12 +10,11 @@ import (
_ "github.com/chrislusf/seaweedfs/weed/filer2/mysql"
_ "github.com/chrislusf/seaweedfs/weed/filer2/postgres"
_ "github.com/chrislusf/seaweedfs/weed/filer2/redis"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/msgqueue"
_ "github.com/chrislusf/seaweedfs/weed/msgqueue/kafka"
_ "github.com/chrislusf/seaweedfs/weed/msgqueue/log"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/security"
"net/http"
"github.com/chrislusf/seaweedfs/weed/msgqueue"
)
type FilerOption struct {

Loading…
Cancel
Save