mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 14:13:52 +03:00
35435c573a
- Instead of having code that relied on the result being sorted (which
wasn't specified in the query and therefore not safe to assume so). Use
a map where it doesn't care if the result that we get from the database
is sorted or not.
- Added unit test.
(cherry picked from commit
|
||
---|---|---|
.. | ||
event.go | ||
event_test.go | ||
manager.go | ||
manager_run.go | ||
messenger.go |