kommersant

package module
v0.0.0-...-44abe95 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: GPL-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DbUsername string
	DbPassword string
	DbAddress  string
	DbName     string
)

Functions

func Clear

func Clear() error

func Store

func Store(news []NewsEntry) error

Types

type NewsEntry

type NewsEntry struct {
	Id          string
	Link        string
	Category    string
	Title       string
	PubDate     string
	Description string
}

func ParseFeed

func ParseFeed() ([]NewsEntry, error)

Jump to

Keyboard shortcuts

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