mirror of
https://github.com/minio/minio.git
synced 2024-12-26 07:05:55 -05:00
Restructure codebase move crypto, checksum to top-level, move `split
` into donut, move crypto/keys into api/auth
This commit is contained in:
parent
8a4e7bcdcf
commit
30fc14e703
@ -6,7 +6,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
. "github.com/minio/check"
|
. "github.com/minio/check"
|
||||||
"github.com/minio/minio/pkg/utils/crypto/md5"
|
"github.com/minio/minio/pkg/crypto/md5"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Test(t *testing.T) { TestingT(t) }
|
func Test(t *testing.T) { TestingT(t) }
|
@ -31,9 +31,9 @@ import (
|
|||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
|
"github.com/minio/minio/pkg/crypto/sha512"
|
||||||
|
"github.com/minio/minio/pkg/donut/split"
|
||||||
"github.com/minio/minio/pkg/iodine"
|
"github.com/minio/minio/pkg/iodine"
|
||||||
"github.com/minio/minio/pkg/utils/crypto/sha512"
|
|
||||||
"github.com/minio/minio/pkg/utils/split"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -25,7 +25,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
. "github.com/minio/check"
|
. "github.com/minio/check"
|
||||||
"github.com/minio/minio/pkg/utils/split"
|
"github.com/minio/minio/pkg/donut/split"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MySuite struct{}
|
type MySuite struct{}
|
@ -20,7 +20,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
. "github.com/minio/check"
|
. "github.com/minio/check"
|
||||||
"github.com/minio/minio/pkg/utils/crypto/keys"
|
"github.com/minio/minio/pkg/server/api/auth/keys"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Test(t *testing.T) { TestingT(t) }
|
func Test(t *testing.T) { TestingT(t) }
|
@ -26,7 +26,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/minio/minio/pkg/quick"
|
"github.com/minio/minio/pkg/quick"
|
||||||
"github.com/minio/minio/pkg/utils/crypto/keys"
|
"github.com/minio/minio/pkg/server/api/auth/keys"
|
||||||
)
|
)
|
||||||
|
|
||||||
type contentTypeHandler struct {
|
type contentTypeHandler struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user