Created
January 17, 2018 13:59
-
-
Save ruggi/de84e2692cd4e780a3aa055e55f182f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resp, err := rankedFeed.GetActivitiesWithRanking("popularity") // you can also add optional read options | |
if err != nil { | |
// ... | |
} | |
for i, activity := range resp.Results { | |
log.Println(i+1, activity.ForeignID, activity.Score) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment