From 5e115634fb3b8175534368eaeea1b163d355e613 Mon Sep 17 00:00:00 2001 From: Andrew Arrow Date: Thu, 15 Feb 2024 07:44:45 -0800 Subject: [PATCH] Optimize performance --- util/plural.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/plural.go b/util/plural.go index ea9f601..6191c71 100644 --- a/util/plural.go +++ b/util/plural.go @@ -9,6 +9,7 @@ func SpecialToSingle() map[string]string { "properties": "property", "bases": "base", "coaches": "coach", + "batches": "batch", "dies": "die", "children": "child", "searches": "search", @@ -17,6 +18,7 @@ func SpecialToSingle() map[string]string { func SpecialToPlural() map[string]string { return map[string]string{"series": "series", "child": "children", + "batch": "batches", "coach": "coaches", "search": "searches", "species": "species"}