Reddit API consuming function in Go