metadata

package
v0.0.0-...-dd27294 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact

type Artifact struct {
	Size     int64
	Path     string
	Checksum string
}

type Day

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

func NewDay

func NewDay(year int, month time.Month, day int) Day

func ParseDay

func ParseDay(s string) (Day, error)

func (Day) Before

func (d Day) Before(d2 Day) bool

func (Day) End

func (d Day) End(loc *time.Location) time.Time

func (Day) Format

func (d Day) Format(layout string) string

func (Day) MarshalJSON

func (d Day) MarshalJSON() ([]byte, error)

func (Day) MonthString

func (d Day) MonthString() string

func (Day) Next

func (d Day) Next() Day

func (Day) Start

func (d Day) Start(loc *time.Location) time.Time

func (Day) String

func (d Day) String() string

func (*Day) UnmarshalJSON

func (d *Day) UnmarshalJSON(data []byte) error

func (Day) YearString

func (d Day) YearString() string

type Metadata

type Metadata struct {
	ProcessedDays []ProcessedDay
}

type ProcessedDay

type ProcessedDay struct {
	Day             Day
	Feeds           []string
	Created         time.Time
	SoftwareVersion int
	Csv             Artifact
	Gtfsrt          Artifact
}

Jump to

Keyboard shortcuts

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