Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListResult ¶
type ShopIterator ¶
type ShopIterator struct {
// contains filtered or unexported fields
}
ShopIterator
iter, err := NewShopIterator(clt, pageIndex, pageSize) if err != nil { // TODO: 增加你的代码 } for iter.HasNext() { items, err := iter.NextPage() if err != nil { // TODO: 增加你的代码 } // TODO: 增加你的代码 }
func NewShopIterator ¶
func NewShopIterator(clt *core.Client, pageIndex, pageSize int) (iter *ShopIterator, err error)
func (*ShopIterator) HasNext ¶
func (iter *ShopIterator) HasNext() bool
func (*ShopIterator) NextPage ¶
func (iter *ShopIterator) NextPage() (records []Shop, err error)
func (*ShopIterator) TotalCount ¶
func (iter *ShopIterator) TotalCount() int
Click to show internal directories.
Click to hide internal directories.