mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-18 20:23:28 +02:00
14 lines
243 B
Go
14 lines
243 B
Go
package jiradata
|
|
|
|
func (l *ListOfAttachment) Len() int {
|
|
return len(*l)
|
|
}
|
|
|
|
func (l *ListOfAttachment) Less(i, j int) bool {
|
|
return (*l)[i].ID < (*l)[j].ID
|
|
}
|
|
|
|
func (l *ListOfAttachment) Swap(i, j int) {
|
|
(*l)[i], (*l)[j] = (*l)[j], (*l)[i]
|
|
}
|