yaml

package
v0.0.0-...-e337c9b Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillScheduleStorage

func FillScheduleStorage(storage konfurbot.ScheduleStorage, file []byte, tz *time.Location) error

FillScheduleStorage fills schedule storage with events parsed from YAML file

Types

type Schedule

type Schedule struct {
	Date   string `yaml:"date"`
	Night  string `yaml:"night"`
	Events []struct {
		Type    string `yaml:"type"`
		Speaker string `yaml:"speaker"`
		Venue   string `yaml:"venue"`
		Short   string `yaml:"short"`
		Long    string `yaml:"long"`
		Start   string `yaml:"start"`
		Finish  string `yaml:"finish"`
	} `yaml:"events"`
}

Schedule is a YAML-parseable adapter for konfurbot.Schedule

Jump to

Keyboard shortcuts

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