aboutsummaryrefslogtreecommitdiff
path: root/internal/integration/matrixbot/matrixbot.go
diff options
context:
space:
mode:
authorGravatar jvoisin <julien.voisin@dustri.org> 2024-02-28 16:08:20 +0100
committerGravatar Frédéric Guillot <f@miniflux.net> 2024-02-28 19:36:38 -0800
commit48fa64f8eca70ecc156e4081d3130d24da77775a (patch)
tree9f9d2d4ff970acf438391fcbf19f30aabb42bed8 /internal/integration/matrixbot/matrixbot.go
parentf274394f0e8406c85360b1722136d27a7b82e94a (diff)
downloadv2-48fa64f8eca70ecc156e4081d3130d24da77775a.tar.gz
v2-48fa64f8eca70ecc156e4081d3130d24da77775a.tar.zst
v2-48fa64f8eca70ecc156e4081d3130d24da77775a.zip
Use a switch-case construct in internal/locale/plural.go instead of an avalanche of if-if-if-if-if
Less lines or code and marginally greater readability, yay! Oh and also preallocate a map in LoadCatalogMessages just because we can.
Diffstat (limited to 'internal/integration/matrixbot/matrixbot.go')
0 files changed, 0 insertions, 0 deletions