refactor: iface sorting

This commit is contained in:
Inanc Gumus
2019-10-23 21:00:05 +03:00
parent 3ac59459fd
commit f0200eface
6 changed files with 18 additions and 18 deletions

View File

@ -65,5 +65,5 @@ func (bp byRelease) Swap(i, j int) { bp.list.Swap(i, j) }
*/
func byReleaseDate(l list) sort.Interface {
return &byRelease{l}
return byRelease{l}
}