Files
m3o-go/examples/contact/list/listContactsWithSpecificOffsetAndLimit/main.go
2021-12-21 11:27:10 +00:00

19 lines
262 B
Go
Executable File

package main
import (
"fmt"
"os"
"go.m3o.com/contact"
)
//
func main() {
contactService := contact.NewContactService(os.Getenv("M3O_API_TOKEN"))
rsp, err := contactService.List(&contact.ListRequest{
Limit: 1,
Offset: 1,
})
fmt.Println(rsp, err)
}