aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-07-24 01:38:08 -0700
committerChris Lu <chris.lu@gmail.com>2018-07-24 01:38:08 -0700
commit77fadab56005d0a0a1b69e06e1c057ddd5a45893 (patch)
tree0418b82781c3b5c5a1072380d6c57d6f583fbc3a /weed/s3api
parent4f317c7e3d2a9e639ccb53ca9debe0c3981c6321 (diff)
downloadseaweedfs-77fadab56005d0a0a1b69e06e1c057ddd5a45893.tar.xz
seaweedfs-77fadab56005d0a0a1b69e06e1c057ddd5a45893.zip
go fmt
Diffstat (limited to 'weed/s3api')
-rw-r--r--weed/s3api/s3api_bucket_handlers.go7
-rw-r--r--weed/s3api/s3api_objects_list_handlers.go11
2 files changed, 10 insertions, 8 deletions
diff --git a/weed/s3api/s3api_bucket_handlers.go b/weed/s3api/s3api_bucket_handlers.go
index af05d0a93..a97434ed0 100644
--- a/weed/s3api/s3api_bucket_handlers.go
+++ b/weed/s3api/s3api_bucket_handlers.go
@@ -3,12 +3,13 @@ package s3api
import (
"context"
"fmt"
- "github.com/chrislusf/seaweedfs/weed/glog"
- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
- "github.com/gorilla/mux"
"net/http"
"os"
"time"
+
+ "github.com/chrislusf/seaweedfs/weed/glog"
+ "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
+ "github.com/gorilla/mux"
)
var (
diff --git a/weed/s3api/s3api_objects_list_handlers.go b/weed/s3api/s3api_objects_list_handlers.go
index a0ab9b964..721982d0f 100644
--- a/weed/s3api/s3api_objects_list_handlers.go
+++ b/weed/s3api/s3api_objects_list_handlers.go
@@ -3,17 +3,18 @@ package s3api
import (
"context"
"fmt"
- "github.com/chrislusf/seaweedfs/weed/filer2"
- "github.com/chrislusf/seaweedfs/weed/glog"
- "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
- "github.com/gorilla/mux"
"net/http"
"net/url"
"path/filepath"
"strconv"
"time"
- "github.com/aws/aws-sdk-go/service/s3"
+
"github.com/aws/aws-sdk-go/aws"
+ "github.com/aws/aws-sdk-go/service/s3"
+ "github.com/chrislusf/seaweedfs/weed/filer2"
+ "github.com/chrislusf/seaweedfs/weed/glog"
+ "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
+ "github.com/gorilla/mux"
)
const (