gsheets

package
v0.0.0-...-372d9be Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectSheets

func CollectSheets(config *config.Config) (map[string]LWODSheet, error)

func ParseSheets

func ParseSheets(sheets map[string]LWODSheet, config *config.Config) error

func SheetsLoop

func SheetsLoop(cfg *config.Config) error

func WrapWithLWODError

func WrapWithLWODError(err error, message string) error

Types

type LWODEntry

type LWODEntry struct {
	DateAdded, DateStreamed                                                 time.Time
	Twitch, YouTube, Rumble, Kick, Odysee, Start, End, Game, Subject, Topic string
	TwitchStamp, YouTubeStamp, RumbleStamp, KickStamp, OdyseeStamp          int
}

type LWODErrorWrapper

type LWODErrorWrapper struct {
	Message string
	Err     error
}

func (*LWODErrorWrapper) Error

func (err *LWODErrorWrapper) Error() string

func (*LWODErrorWrapper) Unwrap

func (err *LWODErrorWrapper) Unwrap() error

type LWODSheet

type LWODSheet struct {
	ID   string
	Name string
}

type LWODSheetData

type LWODSheetData struct {
	YouTubeLinks, TwitchLinks, RumbleLinks, KickLinks, OdyseeLinks map[string][]LWODEntry
}

type LWODTemplate

type LWODTemplate struct {
	Date, Start, End, Game, Subject, Topic, VOD int
}

Jump to

Keyboard shortcuts

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