From bea4f6ca14615de23ba81a84cf61ba0f2a28b7f6 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 12 Sep 2018 01:00:57 -0700 Subject: [PATCH] go fmt --- weed/s3api/s3api_object_handlers.go | 4 ++-- weed/server/volume_server_handlers_write.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.go index b0a81083a..62017cb23 100644 --- a/weed/s3api/s3api_object_handlers.go +++ b/weed/s3api/s3api_object_handlers.go @@ -1,6 +1,7 @@ package s3api import ( + "crypto/md5" "encoding/json" "fmt" "io" @@ -9,9 +10,8 @@ import ( "strings" "github.com/chrislusf/seaweedfs/weed/glog" - "github.com/gorilla/mux" "github.com/chrislusf/seaweedfs/weed/server" - "crypto/md5" + "github.com/gorilla/mux" ) var ( diff --git a/weed/server/volume_server_handlers_write.go b/weed/server/volume_server_handlers_write.go index 64c59fa31..67fdcbb18 100644 --- a/weed/server/volume_server_handlers_write.go +++ b/weed/server/volume_server_handlers_write.go @@ -5,8 +5,8 @@ import ( "fmt" "net/http" "strconv" - "time" "strings" + "time" "github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/operation"