MCPcopy Index your code
hub / github.com/FloatTech/ZeroBot-Plugin / Sort

Method Sort

plugin/rsshub/domain/model.go:95–99  ·  view source on GitHub ↗

Sort ... order by Date desc

()

Source from the content-addressed store, hash-verified

93
94// Sort ... order by Date desc
95func (r *RssClientView) Sort() {
96 sort.Slice(r.Contents, func(i, j int) bool {
97 return r.Contents[i].Date.Unix() > r.Contents[j].Date.Unix()
98 })
99}
100
101// RssSubscribe 订阅关系表:群组-RSS频道
102type RssSubscribe struct {

Callers 7

rankByWordCountFunction · 0.80
initFunction · 0.80
getGroupFavorabilityMethod · 0.80
getitemsorderFunction · 0.80
getChatRankMethod · 0.80
syncRssMethod · 0.80
tagurlFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected