sasac

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HowManyPages = 1

Functions

func EntryPoint

func EntryPoint()

Types

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_01024
	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 ND

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

type News

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

type Pager

type Pager struct {
	URL   string
	Plate string
}

Jump to

Keyboard shortcuts

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