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/configuration.go
  3. 2
      weed/filer2/memdb/memdb_store.go
  4. 2
      weed/filer2/mysql/mysql_store.go
  5. 2
      weed/filer2/postgres/postgres_store.go
  6. 2
      weed/filer2/redis/redis_cluster_store.go
  7. 2
      weed/filer2/redis/redis_store.go
  8. 2
      weed/msgqueue/kafka/kafka_queue.go
  9. 2
      weed/msgqueue/log/log_queue.go
  10. 2
      weed/msgqueue/message_queue.go
  11. 2
      weed/server/filer_server.go

2
weed/filer2/cassandra/cassandra_store.go

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

2
weed/filer2/configuration.go

@ -4,7 +4,7 @@ import (
"os" "os"
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/glog"
"github.com/spf13/viper"
"github.com/spf13/viper"
) )
const ( const (

2
weed/filer2/memdb/memdb_store.go

@ -3,9 +3,9 @@ package memdb
import ( import (
"fmt" "fmt"
"github.com/chrislusf/seaweedfs/weed/filer2" "github.com/chrislusf/seaweedfs/weed/filer2"
"github.com/chrislusf/seaweedfs/weed/util"
"github.com/google/btree" "github.com/google/btree"
"strings" "strings"
"github.com/chrislusf/seaweedfs/weed/util"
) )
func init() { 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"
"github.com/chrislusf/seaweedfs/weed/filer2/abstract_sql" "github.com/chrislusf/seaweedfs/weed/filer2/abstract_sql"
_ "github.com/go-sql-driver/mysql"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/chrislusf/seaweedfs/weed/util"
_ "github.com/go-sql-driver/mysql"
) )
const ( 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"
"github.com/chrislusf/seaweedfs/weed/filer2/abstract_sql" "github.com/chrislusf/seaweedfs/weed/filer2/abstract_sql"
_ "github.com/lib/pq"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/chrislusf/seaweedfs/weed/util"
_ "github.com/lib/pq"
) )
const ( const (

2
weed/filer2/redis/redis_cluster_store.go

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

2
weed/filer2/redis/redis_store.go

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

2
weed/msgqueue/kafka/kafka_queue.go

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

2
weed/msgqueue/log/log_queue.go

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

2
weed/msgqueue/message_queue.go

@ -1,8 +1,8 @@
package msgqueue package msgqueue
import ( import (
"github.com/golang/protobuf/proto"
"github.com/chrislusf/seaweedfs/weed/util" "github.com/chrislusf/seaweedfs/weed/util"
"github.com/golang/protobuf/proto"
) )
type MessageQueue interface { 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/postgres"
_ "github.com/chrislusf/seaweedfs/weed/filer2/redis" _ "github.com/chrislusf/seaweedfs/weed/filer2/redis"
"github.com/chrislusf/seaweedfs/weed/glog" "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/kafka"
_ "github.com/chrislusf/seaweedfs/weed/msgqueue/log" _ "github.com/chrislusf/seaweedfs/weed/msgqueue/log"
"github.com/chrislusf/seaweedfs/weed/security" "github.com/chrislusf/seaweedfs/weed/security"
"github.com/spf13/viper" "github.com/spf13/viper"
"github.com/chrislusf/seaweedfs/weed/msgqueue"
) )
type FilerOption struct { type FilerOption struct {

Loading…
Cancel
Save