message add ex field to return

This commit is contained in:
Gordon
2023-04-04 15:55:57 +08:00
parent baece7eb3a
commit 7aefb7fa2b
8 changed files with 644 additions and 624 deletions
+2 -2
View File
@@ -115,12 +115,12 @@ func (s MsgFormats) Len() int {
return len(s)
}
//Implement the sort.Interface interface comparison element method
// Implement the sort.Interface interface comparison element method
func (s MsgFormats) Less(i, j int) bool {
return s[i].SendTime < s[j].SendTime
}
//Implement the sort.Interface interface exchange element method
// Implement the sort.Interface interface exchange element method
func (s MsgFormats) Swap(i, j int) {
s[i], s[j] = s[j], s[i]
}