package events import "fmt" type Time struct { Hour int Minute int } func (t Time) EventDescription() string { return fmt.Sprintf("Time(%02d:%02d)", t.Hour, t.Minute) } func (t Time) VerboseKey() string { return "time" }