diff options
author | 2024-02-28 16:08:20 +0100 | |
---|---|---|
committer | 2024-02-28 19:36:38 -0800 | |
commit | 48fa64f8eca70ecc156e4081d3130d24da77775a (patch) | |
tree | 9f9d2d4ff970acf438391fcbf19f30aabb42bed8 /internal/integration/matrixbot/matrixbot.go | |
parent | f274394f0e8406c85360b1722136d27a7b82e94a (diff) | |
download | v2-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