jvnlist

package module
v0.0.0-...-1fdb3d5 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TrimSpaceExp *regexp.Regexp = regexp.MustCompile(" +")

Functions

This section is empty.

Types

type Detail

type Detail struct {
	PublishedAt time.Time `json:"published_at"`
	UpdatedAt   time.Time `json:"updated_at"`
	Link        string    `json:"link"`
	Code        string    `json:"code"`
	Title       string    `json:"title"`
	Abstract    string    `json:"abstract"`
	Target      string    `json:"target"`
	Detail      string    `json:"detail"`
	Impact      string    `json:"impact"`
	Measure     string    `json:"measure"`
	Vendor      string    `json:"vendor"`
	Information string    `json:"information"`
	Supplement  string    `json:"supplement"`
	Analysis    string    `json:"analysis"`
	Reference   string    `json:"reference"`
}

func ParseDetail

func ParseDetail(r io.Reader) (*Detail, error)

type Headline

type Headline struct {
	PublishedAt time.Time `json:"published_at"`
	Title       string    `json:"title"`
	Link        string    `json:"link"`
}

func ParseHeadlines

func ParseHeadlines(r io.Reader) ([]*Headline, error)

Directories

Path Synopsis
cmd
jvn

Jump to

Keyboard shortcuts

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