fix usage

close #43
This commit is contained in:
Yasuhiro Matsumoto 2017-04-25 22:38:21 +09:00
parent adf4fbaa20
commit c45c918820

View File

@ -17,7 +17,7 @@ err := c.Authenticate("your-username", "your-password")
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }
timeline, err := c.GetTimeline("/api/v1/timelines/home") timeline, err := c.GetTimelineHome(context.Background())
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }