collect

package
v0.0.0-...-9effeff Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 9 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
	Place        string
	Date         time.Time
	Status       string
	Link         string
	ArtistImgUrl string
}

func CrawlEvents

func CrawlEvents(url string) ([]Event, error)

func (Event) ToDbEvent

func (pe Event) ToDbEvent(dbEvent db.Event) db.Event

type EventSyncCollector

type EventSyncCollector interface {
	Init() error
	SetCategory(event *db.Event) error
	SetArtist(event *db.Event) error
	SetArtistUrl(event *db.Event) error
	SetArtistImgUrl(event *db.Event) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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