event

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event added in v0.0.10

type Event struct {
	*calendar.Event
}

func New

func New(date, start, end, title string) *Event

func NewFromDocEvent added in v0.0.20

func NewFromDocEvent(d fetcher.DocEvent) *Event

func (*Event) Equals added in v0.0.10

func (e *Event) Equals(c *Event) bool

type Events

type Events []*Event

func NewEvents added in v0.0.10

func NewEvents(items []*calendar.Event) Events

func (Events) Diff

func (es Events) Diff(another Events) (negative, positive Events)

func (Events) Has

func (es Events) Has(b *Event) bool

func (Events) Unique added in v0.0.9

func (es Events) Unique() (unique Events)

Jump to

Keyboard shortcuts

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