backend: reverse sort
This commit is contained in:
parent
305db738ea
commit
0770bb49cb
|
@ -73,7 +73,7 @@ func init() {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
sort.Sort(posts)
|
sort.Sort(sort.Reverse(posts))
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in New Issue