Restructure codebase move crypto, checksum to top-level, move `split` into donut, move crypto/keys into api/auth

This commit is contained in:
Harshavardhana 2015-07-03 15:17:44 -07:00
parent 8a4e7bcdcf
commit 30fc14e703
52 changed files with 6 additions and 6 deletions

View File

@ -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) }

View File

@ -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 (

View File

@ -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{}

View File

@ -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) }

View File

@ -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 {