update

package module
v0.0.0-...-89d8625 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(file io.Reader, isIcs bool)

Main ...

Types

type HarianItem

type HarianItem struct {
	Date         int64        `json:"key"`
	DateStr      string       `json:"key_as_string"`
	Death        HarianJumlah `json:"jumlah_meninggal"`
	Active       HarianJumlah `json:"jumlah_dirawat"`
	Recover      HarianJumlah `json:"jumlah_sembuh"`
	Case         HarianJumlah `json:"jumlah_positif"`
	TotalDeath   HarianJumlah `json:"jumlah_meninggal_kum"`
	TotalActive  HarianJumlah `json:"jumlah_dirawat_kum"`
	TotalRecover HarianJumlah `json:"jumlah_sembuh_kum"`
	TotalCase    HarianJumlah `json:"jumlah_positif_kum"`
}

HarianItem ...

func (HarianItem) GetTag

func (v HarianItem) GetTag(tag string) map[string]string

GetTag ...

type HarianJumlah

type HarianJumlah struct {
	Value int `json:"value"`
}

HarianJumlah ...

type HarianList

type HarianList []HarianItem

HarianList ...

func (HarianList) EmitICal

func (v HarianList) EmitICal() goics.Componenter

EmitICal ...

func (HarianList) ToCsv

func (v HarianList) ToCsv() [][]string

ToCsv ...

type SrcFile

type SrcFile struct {
	Update struct {
		Harian HarianList `json:"harian"`
	} `json:"update"`
}

SrcFile ...

Jump to

Keyboard shortcuts

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