Documentation ¶
Overview ¶
*
- Copyright 2015 @ 56x.net.
- name : category
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : validate
- author : jarryliu
- date : 2016-07-23 15:42
- description :
- history :
Index ¶
- func CheckChineseCardID(sId string) error
- func IterateCategory(categories []*proto.SProductCategory, c *proto.SProductCategory, ...)
- func WalkArticleCategory(cs *proto.ArticleCategoriesResponse, v *proto.SArticleCategory, ...)
- func WalkSaleCategory(cs []*proto.SProductCategory, v *proto.SProductCategory, ...)
- type CategoryFormatFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IterateCategory ¶
func IterateCategory(categories []*proto.SProductCategory, c *proto.SProductCategory, iterateFunc CategoryFormatFunc, finishFunc CategoryFormatFunc, level int)
遍历栏目
func WalkArticleCategory ¶
func WalkArticleCategory(cs *proto.ArticleCategoriesResponse, v *proto.SArticleCategory, start iterator.WalkFunc, over iterator.WalkFunc)
迭代栏目
func WalkSaleCategory ¶
func WalkSaleCategory(cs []*proto.SProductCategory, v *proto.SProductCategory, start iterator.WalkFunc, over iterator.WalkFunc)
迭代栏目
Types ¶
type CategoryFormatFunc ¶
type CategoryFormatFunc func(c *proto.SProductCategory, level int)
Click to show internal directories.
Click to hide internal directories.