From e2ed40f638caef38a5c24b56a170a22ba9e2979e Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Thu, 23 Apr 2015 21:33:46 -0700 Subject: [PATCH] Running goimports on cmd-cat.go --- .../_workspace/src/github.com/dustin/go-humanize/comma.go | 4 ++-- cmd-cat.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Godeps/_workspace/src/github.com/dustin/go-humanize/comma.go b/Godeps/_workspace/src/github.com/dustin/go-humanize/comma.go index 9d0d2ed1..80dbfa78 100644 --- a/Godeps/_workspace/src/github.com/dustin/go-humanize/comma.go +++ b/Godeps/_workspace/src/github.com/dustin/go-humanize/comma.go @@ -33,7 +33,7 @@ func Comma(v int64) string { j-- } parts[j] = strconv.Itoa(int(v)) - return sign + strings.Join(parts[j:len(parts)], ",") + return sign + strings.Join(parts[j:], ",") } // Commaf produces a string form of the given number in base 10 with @@ -97,5 +97,5 @@ func BigComma(b *big.Int) string { j-- } parts[j] = strconv.Itoa(int(b.Int64())) - return sign + strings.Join(parts[j:len(parts)], ",") + return sign + strings.Join(parts[j:], ",") } diff --git a/cmd-cat.go b/cmd-cat.go index 35274ca8..09b2a010 100644 --- a/cmd-cat.go +++ b/cmd-cat.go @@ -1,18 +1,18 @@ package main import ( + "encoding/hex" "errors" "io" + "os" + "strings" "sync" - "encoding/hex" "github.com/minio-io/cli" "github.com/minio-io/mc/pkg/console" "github.com/minio-io/minio/pkg/iodine" "github.com/minio-io/minio/pkg/utils/crypto/md5" "github.com/minio-io/minio/pkg/utils/log" - "os" - "strings" ) func runCatCmd(ctx *cli.Context) {