Merge pull request #229 from fkautz/pr_out_donut_frame_is_now_its_own_package

This commit is contained in:
Frederick F. Kautz IV 2015-03-01 00:02:35 -08:00
commit 9d30475f00
5 changed files with 4 additions and 6 deletions

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package v1 package frame_v1
import ( import (
"bytes" "bytes"

View File

@ -1,5 +1,3 @@
// +build ignore
package main package main
import ( import (
@ -8,7 +6,7 @@ import (
"os" "os"
"reflect" "reflect"
"github.com/minio-io/minio/pkg/storage/donut/v1" "github.com/minio-io/minio/pkg/storage/donut/frame/frame_v1"
) )
func main() { func main() {
@ -22,7 +20,7 @@ func main() {
dataBuffer := bytes.NewBuffer(data) dataBuffer := bytes.NewBuffer(data)
err = v1.Write(file, dataBuffer, uint64(dataBuffer.Len())) err = frame_v1.WriteFrame(file, dataBuffer, uint64(dataBuffer.Len()))
if err != nil { if err != nil {
panic(err) panic(err)
} }

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package v1 package frame_v1
import ( import (
"bytes" "bytes"