fetchgdelt

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdFetchGDELT = &command.Command{
	Name:      "fetch-gdelt",
	UsageLine: "fetch-gdelt",
	Short:     "fetch latest news from GDELT",
	Long: `
The command "fetch-gdelt" starts a process which periodically fetches
events from GDELT Master CSV Data File List. For each event, the source
URL is extracted (a link to the first news report it found this event in).
If present, a new WebResource is created and new related jobs are scheduled 
(as configured).
`,
	Run: Run,
}

CmdFetchGDELT implements the command "whatsnew fetch-gdelt".

Functions

func Run

func Run(ctx context.Context, conf *config.Config, args []string) error

Run runs the command "whatsnew fetch-gdelt".

Types

This section is empty.

Jump to

Keyboard shortcuts

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