Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MaterialItem ¶
type MaterialItem struct { CatName string `json:"catName"` Id string `json:"id"` Name string `json:"name"` TotalResults int64 `json:"totalResults"` Adzoneid string `json:"-"` SubUrl string `json:"subUrl"` }
物料信息结构
type MaterialList ¶
type MaterialList struct {
MaterialIdList []MaterialItem `json:"materialIdList"`
}
物料列表结构
func (*MaterialList) AddItem ¶
func (m *MaterialList) AddItem(item MaterialItem)
func (*MaterialList) WriteToFile ¶
func (m *MaterialList) WriteToFile(filePath string)
Click to show internal directories.
Click to hide internal directories.