From c45c918820e22e6968a2066897226edf9b029ac1 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Tue, 25 Apr 2017 22:38:21 +0900 Subject: [PATCH] fix usage close #43 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f71077..374c212 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ err := c.Authenticate("your-username", "your-password") if err != nil { log.Fatal(err) } -timeline, err := c.GetTimeline("/api/v1/timelines/home") +timeline, err := c.GetTimelineHome(context.Background()) if err != nil { log.Fatal(err) }