Point Tools API method renamed.

This commit is contained in:
Alexey Skobkin 2016-03-30 05:02:41 +03:00
parent 6f412ee8c3
commit 734881b9d1

View file

@ -56,7 +56,7 @@ func main() {
fmt.Println("Last uid", strconv.Itoa(page.Posts[len(page.Posts)-1].Uid)) fmt.Println("Last uid", strconv.Itoa(page.Posts[len(page.Posts)-1].Uid))
} }
sendResp, sendErr := pointToolsClient.SendPage(page) sendResp, sendErr := pointToolsClient.SendAllPage(page)
if sendErr != nil { if sendErr != nil {
log.Fatal(sendErr) log.Fatal(sendErr)
@ -95,7 +95,7 @@ func main() {
} }
fmt.Printf(" -> %d posts\n", len(page.Posts)) fmt.Printf(" -> %d posts\n", len(page.Posts))
sendResp, sendErr = pointToolsClient.SendPage(page) sendResp, sendErr = pointToolsClient.SendAllPage(page)
if sendErr != nil { if sendErr != nil {
log.Fatal(sendErr) log.Fatal(sendErr)