Merge pull request #4 from zetamatta/master

Revert timeline's sort-order with no-options
pull/6/head
mattn 2017-04-14 16:17:38 +09:00 committed by GitHub
commit 6e212330bc
1 changed files with 2 additions and 1 deletions

View File

@ -190,7 +190,8 @@ func timeline(client *mastodon.Client) {
if err != nil {
log.Fatal(err)
}
for _, t := range timeline {
for i := len(timeline) - 1; i >= 0; i-- {
t := timeline[i]
color.Set(color.FgHiRed)
fmt.Println(t.Account.Username)
color.Set(color.Reset)