diff --git a/pkg/api/api_signature.go b/pkg/api/api_signature.go index dd912d1b8..53f7fda6a 100644 --- a/pkg/api/api_signature.go +++ b/pkg/api/api_signature.go @@ -18,20 +18,19 @@ package api import ( "bytes" + "crypto/hmac" + "crypto/sha1" + "encoding/base64" "errors" "fmt" "io" "net" + "net/http" + "net/url" "sort" "strings" "time" - "crypto/hmac" - "crypto/sha1" - "encoding/base64" - "net/http" - "net/url" - "github.com/minio-io/minio/pkg/api/config" ) diff --git a/pkg/api/range.go b/pkg/api/range.go index 12f6788fc..414e7f39e 100644 --- a/pkg/api/range.go +++ b/pkg/api/range.go @@ -19,10 +19,9 @@ package api import ( "errors" "fmt" + "net/http" "strconv" "strings" - - "net/http" ) const (