Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/locales.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/gu/gu.go
diff options
context:
space:
mode:
Diffstat (limited to 'gu/gu.go')
-rw-r--r--gu/gu.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/gu/gu.go b/gu/gu.go
index a70a3ac0..0025fe88 100644
--- a/gu/gu.go
+++ b/gu/gu.go
@@ -192,9 +192,7 @@ func (gu *gu) FmtPercent(num float64, v uint64) []byte {
b[i], b[j] = b[j], b[i]
}
- for j := len(gu.percent) - 1; j >= 0; j-- {
- b = append(b, gu.percent[j])
- }
+ b = append(b, gu.percent...)
return b
}