Documentation
¶
Index ¶
- func AllCategories() map[string]string
- func CategoryFromEvent(rawEventId string) string
- func LongCategory(shortCategory string) string
- func PartitionEventsByCategory(loadedEvents []*GenconEvent) map[string][]*GenconEvent
- func PartitionEventsByDay(loadedEvents []*GenconEvent) map[string][]*GenconEvent
- func YearFromEvent(rawEventId string) int
- type GenconEvent
- type SlimEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllCategories ¶
func CategoryFromEvent ¶
func LongCategory ¶
func PartitionEventsByCategory ¶
func PartitionEventsByCategory(loadedEvents []*GenconEvent) map[string][]*GenconEvent
func PartitionEventsByDay ¶
func PartitionEventsByDay(loadedEvents []*GenconEvent) map[string][]*GenconEvent
func YearFromEvent ¶
Types ¶
type GenconEvent ¶
type GenconEvent struct {
EventId string
Year int
Active bool
Group string
Title string
ShortDescription string
LongDescription string
EventType string
GameSystem string
RulesEdition string
MinPlayers int
MaxPlayers int
AgeRequired string
ExperienceRequired string
MaterialsProvided bool
StartTime time.Time
Duration int
EndTime time.Time
GMNames string
Website string
Email string
Tournament bool
RoundNumber int
TotalRounds int
MinPlayTime int
AttendeeRegistration string
Cost int
Location string
RoomName string
TableNumber string
SpecialCategory string
TicketsAvailable int
LastModified time.Time
ShortCategory string
IsStarred bool
OrgId int64
}
func NormalizeEvent ¶
func NormalizeEvent(event *GenconEvent) *GenconEvent
func ParseGenconCsv ¶
func ParseGenconCsv(rawBytes []byte) []*GenconEvent
func ParseGenconSheet ¶
func ParseGenconSheet(rawBytes []byte) []*GenconEvent
func (*GenconEvent) GenconLink ¶
func (e *GenconEvent) GenconLink() string
func (*GenconEvent) IsoEndTime ¶
func (event *GenconEvent) IsoEndTime() string
func (*GenconEvent) IsoStartTime ¶
func (event *GenconEvent) IsoStartTime() string
func (*GenconEvent) PlannerLink ¶
func (e *GenconEvent) PlannerLink() string
func (*GenconEvent) SlimEvent ¶
func (e *GenconEvent) SlimEvent() *SlimEvent
Click to show internal directories.
Click to hide internal directories.