c19

package
v0.0.0-...-441d4db Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const OpenDataUrl = "https://www3.nhk.or.jp/n-data/opendata/coronavirus/nhk_news_covid19_domestic_daily_data.csv"

Variables

This section is empty.

Functions

func Plot

func Plot(csv string, days int) ([]byte, error)

Types

type Fetcher

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

func NewFetcher

func NewFetcher(c HttpClient) *Fetcher

func (*Fetcher) Fetch

func (fetcher *Fetcher) Fetch(s string) (string, error)

type HttpClient

type HttpClient interface {
	Get(string) (*http.Response, error)
}

Jump to

Keyboard shortcuts

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