Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadKeyword ¶
func SaveCategoryCsv ¶
func SaveCategoryCsv(base BaseConfig, categories []*CategoryCsv) error
func SaveKeyword ¶
Types ¶
type BaseConfig ¶ added in v1.1.12
type CategoryCsv ¶
type CategoryCsv struct { Type string `csv:"type" json:"type"` ParentName string `csv:"parent_name" json:"parent_name"` Name string `csv:"name" json:"name"` Url string `csv:"url" json:"url"` Status StatusGrabCategoryCsv `csv:"status" json:"status"` }
func LoadCategoryCsv ¶
func LoadCategoryCsv(base BaseConfig) ([]*CategoryCsv, error)
func NewCategoryCsv ¶ added in v1.1.12
func NewCategoryCsv(parentName string, category *model_public.Categories) *CategoryCsv
type StatusGrabCategoryCsv ¶
type StatusGrabCategoryCsv string
const ( STATUS_GRAB_CATEGORY_GRABBED StatusGrabCategoryCsv = "grabbed" STATUS_GRAB_CATEGORY_UNGRABBED StatusGrabCategoryCsv = "" )
Click to show internal directories.
Click to hide internal directories.