cctgroup

package
v0.0.0-...-1aeafd4 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HowManyPages = 1

Functions

func EntryPoint

func EntryPoint()

Types

type C

type C struct {
	// contains filtered or unexported fields
}

func (*C) GetNewsList

func (c *C) GetNewsList()

type Filter

type Filter struct {
	// contains filtered or unexported fields
}

func NewFilter

func NewFilter(name string) *Filter

func (*Filter) AppendNewLine

func (f *Filter) AppendNewLine(newline []string)

func (*Filter) Open

func (f *Filter) Open()

func (*Filter) ReadAll

func (f *Filter) ReadAll()

type GroupNews

type GroupNews struct {
	NewsGuid       string   `json:"newsGuid"`       // 新闻主键
	NewsTitle      string   `json:"newsTitle"`      // 新闻标题
	NewsTs         string   `json:"newsTs"`         // 新闻日期
	NewsUrl        string   `json:"newsUrl"`        // 新闻链接
	NewsSource     string   `json:"newsSource"`     // 中国诚通控股集团有限公司
	NewsSourceCode string   `json:"newsSourceCode"` // WEB_02019
	NewsSummary    string   `json:"newsSummary"`    // 新闻正文
	PolicyType     string   `json:"policyType"`     // 10
	PolicyTypeName string   `json:"policyTypeName"` // 国家政策
	NewsGysCode    string   `json:"newsGysCode"`    // 90
	NewsGysName    string   `json:"newsGysName"`    // 爬虫
	NewsId         int      `json:"newsId"`         // 0
	Image          [][]byte `json:"image"`          // 新闻图片
}

type News

type News struct {
	URL   string   // 新闻链接
	Date  string   // 新闻日期
	Body  string   // 新闻正文
	Title string   // 新闻标题
	Image [][]byte // 新闻图片
	Plate string   // 新闻所属板块
}

type PagerIndex

type PagerIndex struct {
	Plate string // 新闻所属板块
	Index string // 新闻页码链接
}

Jump to

Keyboard shortcuts

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