diff options
author | Nick White <git@njw.name> | 2020-02-20 11:48:40 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-02-20 11:48:40 +0000 |
commit | cda45588cfb796fdd2af27b1851685270df2c02b (patch) | |
tree | ed621e7e9a71a50f17dad8ebc95fec72314b3500 | |
parent | 04f45ca1883161536d92c9600553b0611f0d21ff (diff) |
[pare-gt] gofmt
-rw-r--r-- | pare-gt/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pare-gt/main.go b/pare-gt/main.go index 5e2daa1..a4d9600 100644 --- a/pare-gt/main.go +++ b/pare-gt/main.go @@ -8,8 +8,8 @@ import ( "os" "path" "path/filepath" - "strings" "sort" + "strings" ) const usage = `Usage: pare-gt [-n num] gtdir movedir @@ -74,7 +74,7 @@ func samplePrefixes(perctosample int, prefixes Prefixes) (filestomove []string) keys = append(keys, i) } - sample = (total * perctosample ) / 100 + sample = (total * perctosample) / 100 // This ensures the map is looped over deterministically sort.Strings(keys) |