Utils

package
v0.0.0-...-c69b3c9 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2017 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEvent

func CreateEvent(schedule *Schedule, calendarId string)

func GetCalendarId

func GetCalendarId() string

func Read

func Read(filename string) [][]string

func TestRun

func TestRun(s *Schedule)

Types

type CalendarConfig

type CalendarConfig struct {
	Id string `toml:"id"`
}

type Config

type Config struct {
	Calendar CalendarConfig
}

type Schedule

type Schedule struct {
	Title    string
	Location string
	Year     string
	Month    string
	Day      string
	Start    string
	End      string
}

func SetSchedule

func SetSchedule(schedule []string) *Schedule

Jump to

Keyboard shortcuts

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