fix usage

close #43
pull/45/head
Yasuhiro Matsumoto 2017-04-25 22:38:21 +09:00
parent adf4fbaa20
commit c45c918820
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}