Browse Source

go fmt

pull/719/head
Chris Lu 6 years ago
parent
commit
95b997fb35
  1. 2
      weed/filer2/cassandra/cassandra_store.go
  2. 2
      weed/filer2/memdb/memdb_store.go
  3. 2
      weed/filer2/mysql/mysql_store.go
  4. 2
      weed/filer2/postgres/postgres_store.go
  5. 2
      weed/filer2/redis/redis_cluster_store.go
  6. 2
      weed/filer2/redis/redis_store.go
  7. 2
      weed/msgqueue/kafka/kafka_queue.go
  8. 2
      weed/msgqueue/log/log_queue.go
  9. 2
      weed/msgqueue/message_queue.go
  10. 2
      weed/server/filer_server.go

2
weed/filer2/cassandra/cassandra_store.go

@ -4,8 +4,8 @@ import (
"fmt"
"github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/gocql/gocql"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/gocql/gocql"
)
func init() {

2
weed/filer2/memdb/memdb_store.go

@ -3,9 +3,9 @@ package memdb
import (
"fmt"
"github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/google/btree"
"strings"
"github.com/chrislusf/seaweedfs/weed/util"
)
func init() {

2
weed/filer2/mysql/mysql_store.go

@ -6,8 +6,8 @@ import (
"github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/filer2/abstract_sql"
_ "github.com/go-sql-driver/mysql"
"github.com/chrislusf/seaweedfs/weed/util"
_ "github.com/go-sql-driver/mysql"
)
const (

2
weed/filer2/postgres/postgres_store.go

@ -6,8 +6,8 @@ import (
"github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/filer2/abstract_sql"
_ "github.com/lib/pq"
"github.com/chrislusf/seaweedfs/weed/util"
_ "github.com/lib/pq"
)
const (

2
weed/filer2/redis/redis_cluster_store.go

@ -2,8 +2,8 @@ package redis
import (
"github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/go-redis/redis"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/go-redis/redis"
)
func init() {

2
weed/filer2/redis/redis_store.go

@ -2,8 +2,8 @@ package redis
import (
"github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/go-redis/redis"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/go-redis/redis"
)
func init() {

2
weed/msgqueue/kafka/kafka_queue.go

@ -4,8 +4,8 @@ import (
"github.com/Shopify/sarama"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/msgqueue"
"github.com/golang/protobuf/proto"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/golang/protobuf/proto"
)
func init() {

2
weed/msgqueue/log/log_queue.go

@ -3,8 +3,8 @@ package kafka
import (
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/msgqueue"
"github.com/golang/protobuf/proto"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/golang/protobuf/proto"
)
func init() {

2
weed/msgqueue/message_queue.go

@ -1,8 +1,8 @@
package msgqueue
import (
"github.com/golang/protobuf/proto"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/golang/protobuf/proto"
)
type MessageQueue interface {

2
weed/server/filer_server.go

@ -11,11 +11,11 @@ import (
_ "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/security"
"github.com/spf13/viper"
"github.com/chrislusf/seaweedfs/weed/msgqueue"
)
type FilerOption struct {

Loading…
Cancel
Save