tbkmaterial

package module
v0.0.0-...-543fd91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

README

TOP官方物料信息Struct

方便批量调用物料接口

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL