Updated to latest ARN API

This commit is contained in:
2017-06-27 12:39:41 +02:00
parent 93e7ad01d5
commit 04373033cc
10 changed files with 23 additions and 14 deletions

View File

@ -7,7 +7,7 @@ import (
func main() {
// Get a stream of all posts
allPosts, err := arn.AllPosts()
allPosts, err := arn.StreamPosts()
arn.PanicOnError(err)
// Iterate over the stream