This PR adds a generic set type to get rid of maps used as sets. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Fix #20860. `CommentID` in `FindReactionsOptions` should be -1 to search reactions with zero comment id. 8351172b6e/models/issues/reaction.go (L108-L121) Co-authored-by: Lauris BH <lauris@nix.lv>
8351172b6e/models/issues/reaction.go (L108-L121)
* Move reaction to models/issues/ * Fix test * move the function * improve code * Update models/issues/reaction.go Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>