sources

package
v0.0.0-...-219eb91 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Name     string
	Source   string
	URL      string
	DateTime time.Time
	Location string
}

type MeetupSource

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

func NewMeetupSource

func NewMeetupSource(name, url string) *MeetupSource

func (*MeetupSource) Name

func (c *MeetupSource) Name() string

func (*MeetupSource) Retrieve

func (c *MeetupSource) Retrieve(loc *time.Location) ([]Event, error)

func (*MeetupSource) Type

func (c *MeetupSource) Type() string

type Source

type Source interface {
	Name() string
	Type() string
	Retrieve(*time.Location) ([]Event, error)
}

Jump to

Keyboard shortcuts

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