summaryrefslogtreecommitdiff
path: root/fpdf.go
diff options
context:
space:
mode:
Diffstat (limited to 'fpdf.go')
-rw-r--r--fpdf.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdf.go b/fpdf.go
index f77717f..24e79bc 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -4215,6 +4215,7 @@ func implode(sep string, arr []int) string {
return s.String()
}
+// arrayCountValues counts the occurrences of each item in the $mp array.
func arrayCountValues(mp []int) map[int]int {
answer := make(map[int]int)
for _, v := range mp {