mirror of
https://github.com/moonD4rk/HackBrowserData
synced 2025-02-17 11:07:07 +00:00
14 lines
232 B
Go
14 lines
232 B
Go
|
package core
|
||
|
|
||
|
func (l LoginDataSlice) Len() int {
|
||
|
return len(l)
|
||
|
}
|
||
|
|
||
|
func (l LoginDataSlice) Less(i, j int) bool {
|
||
|
return l[i].CreateDate.After(l[j].CreateDate)
|
||
|
}
|
||
|
|
||
|
func (l LoginDataSlice) Swap(i, j int) {
|
||
|
l[i], l[j] = l[j], l[i]
|
||
|
}
|