diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 231eeaf3..8e15ea7f 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -32,7 +32,7 @@ }, { "ImportPath": "github.com/minio/minio-go", - "Rev": "4b4fca565223d9486ff641c7546cf5493b9340ba" + "Rev": "713fc2f8d5f6c608f8ef465d84bc6805a3193f06" }, { "ImportPath": "github.com/minio/minio/pkg/iodine", diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/acl.go b/Godeps/_workspace/src/github.com/minio/minio-go/acl.go index f761ce8d..fdddb3e8 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/acl.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/acl.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package client +package minio // BucketACL - bucket level access control type BucketACL string diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/api.go b/Godeps/_workspace/src/github.com/minio/minio-go/api.go index 0f3781dc..28fac691 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/api.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/api.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package client +package minio import ( "errors" diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/api_handlers_test.go b/Godeps/_workspace/src/github.com/minio/minio-go/api_handlers_test.go index 32aad4c1..cb014c3d 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/api_handlers_test.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/api_handlers_test.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package client +package minio // bucketHandler is an http.Handler that verifies bucket responses and validates incoming requests import ( diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/api_test.go b/Godeps/_workspace/src/github.com/minio/minio-go/api_test.go index ec8d59a5..6b271f64 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/api_test.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/api_test.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package client +package minio import ( "bytes" diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/errors.go b/Godeps/_workspace/src/github.com/minio/minio-go/errors.go index 23902583..83506fb1 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/errors.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/errors.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package client +package minio import ( "encoding/xml" diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/getobject.go b/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/getobject.go index 951ff1dc..0eb1d9d4 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/getobject.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/getobject.go @@ -23,17 +23,17 @@ import ( "log" "os" - play "github.com/minio/minio-go" + "github.com/minio/minio-go" ) func main() { - config := play.Config{ + config := minio.Config{ AccessKeyID: "", SecretAccessKey: "", Endpoint: "https://play.minio.io:9000", } - client := play.New(&config) + client := minio.New(&config) reader, stat, err := client.GetObject("mybucket", "myobject", 0, 0) if err != nil { log.Fatalln(err) diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/listbuckets.go b/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/listbuckets.go index 95dabffe..bb383122 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/listbuckets.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/listbuckets.go @@ -21,17 +21,17 @@ package main import ( "log" - play "github.com/minio/minio-go" + "github.com/minio/minio-go" ) func main() { - config := play.Config{ + config := minio.Config{ AccessKeyID: "", SecretAccessKey: "", Endpoint: "https://play.minio.io:9000", } - client := play.New(&config) + client := minio.New(&config) for message := range client.ListBuckets() { if message.Err != nil { diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/listobjects.go b/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/listobjects.go index c0dd297d..93706a22 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/listobjects.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/listobjects.go @@ -21,17 +21,17 @@ package main import ( "log" - play "github.com/minio/minio-go" + "github.com/minio/minio-go" ) func main() { - config := play.Config{ + config := minio.Config{ AccessKeyID: "", SecretAccessKey: "", Endpoint: "https://play.minio.io:9000", } - client := play.New(&config) + client := minio.New(&config) for message := range client.ListObjects("mybucket", "", true) { if message.Err != nil { diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/putobject.go b/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/putobject.go index 876f2bfa..d5202eb1 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/putobject.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/examples/play/putobject.go @@ -22,17 +22,17 @@ import ( "log" "os" - play "github.com/minio/minio-go" + "github.com/minio/minio-go" ) func main() { - config := play.Config{ + config := minio.Config{ AccessKeyID: "", SecretAccessKey: "", Endpoint: "https://play.minio.io:9000", } - client := play.New(&config) + client := minio.New(&config) object, err := os.Open("testfile") if err != nil { diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelapi.go b/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelapi.go index ea17abee..d19065a2 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelapi.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelapi.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package client +package minio import ( "bytes" diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelcommon.go b/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelcommon.go index a1e8cc5f..d3217846 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelcommon.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelcommon.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package client +package minio import ( "crypto/hmac" diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/lowleveldefinitions.go b/Godeps/_workspace/src/github.com/minio/minio-go/lowleveldefinitions.go index edf76551..61640cb1 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/lowleveldefinitions.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/lowleveldefinitions.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package client +package minio import "time" diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelmultipartapi.go b/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelmultipartapi.go index 0061a945..063ac478 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelmultipartapi.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelmultipartapi.go @@ -1,4 +1,20 @@ -package client +/* + * Minimal object storage library (C) 2015 Minio, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package minio import ( "bytes" diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelrequest.go b/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelrequest.go index cdddd238..67dee72d 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelrequest.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/lowlevelrequest.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package client +package minio import ( "bytes" diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/multipart.go b/Godeps/_workspace/src/github.com/minio/minio-go/multipart.go index c281318d..08b479db 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/multipart.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/multipart.go @@ -14,7 +14,7 @@ * limitations under the License. */ -package client +package minio import ( "bytes"