report

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadWolf added in v0.1.2

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

func NewBadWolf added in v0.1.2

func NewBadWolf(out io.Writer) *BadWolf

func (BadWolf) Generate added in v0.1.2

func (bw BadWolf) Generate(events biograph.Events) error

Generate generates badwolf compatible fact export

type ICal

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

func NewICal

func NewICal(out io.Writer) *ICal

NewICal creates new iCal reporter

func (*ICal) Generate

func (ic *ICal) Generate(events biograph.Events) error

type LifeCalendar

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

func NewLifeCalendar

func NewLifeCalendar(out io.Writer) *LifeCalendar

NewLifeCalendar creates new report

func (*LifeCalendar) Generate

func (l *LifeCalendar) Generate(events biograph.Events) error

Generate generates life-calendar export https://github.com/ngduc/life-calendar

type LifeCalendarOwnTime

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

func NewLifeCalendarOwnTime

func NewLifeCalendarOwnTime(startDate, endDate time.Time, o io.Writer) *LifeCalendarOwnTime

func (*LifeCalendarOwnTime) Generate

func (l *LifeCalendarOwnTime) Generate(events biograph.Events) error

type LifeCalendarText

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

func NewLifeCalendarText

func NewLifeCalendarText(startDate, endDate time.Time, o io.Writer) *LifeCalendarText

func (*LifeCalendarText) Generate

func (l *LifeCalendarText) Generate(events biograph.Events) error

type MarkWhen added in v0.1.5

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

func NewMarkWhen added in v0.1.5

func NewMarkWhen(out io.Writer) *MarkWhen

func (MarkWhen) Generate added in v0.1.5

func (mw MarkWhen) Generate(events biograph.Events) error

Generate generates MarkWhen compatible fact export

type Report

type Report interface {
	Generate(biograph.Events) error
}

type SVG

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

func NewSVG

func NewSVG(out io.WriteCloser) *SVG

func (*SVG) Generate

func (s *SVG) Generate(le biograph.Events) error

type Text

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

func NewText

func NewText(out io.Writer) *Text

NewText creates new text reporter

func (*Text) Generate

func (r *Text) Generate(events biograph.Events) error

Generate generates chronological text report

Jump to

Keyboard shortcuts

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