Merge pull request #534 from fkautz/pr_out_experiment_running_gofmt_on_godeps

master
Frederick F. Kautz IV 10 years ago
commit 362305d898
  1. 4
      Godeps/_workspace/src/github.com/dustin/go-humanize/comma.go

@ -33,7 +33,7 @@ func Comma(v int64) string {
j-- j--
} }
parts[j] = strconv.Itoa(int(v)) 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 // Commaf produces a string form of the given number in base 10 with
@ -97,5 +97,5 @@ func BigComma(b *big.Int) string {
j-- j--
} }
parts[j] = strconv.Itoa(int(b.Int64())) parts[j] = strconv.Itoa(int(b.Int64()))
return sign + strings.Join(parts[j:len(parts)], ",") return sign + strings.Join(parts[j:], ",")
} }

Loading…
Cancel
Save