Documentation ¶
Index ¶
Constants ¶
View Source
const EventQuery = "" /* 199-byte string literal not displayed */
View Source
const LeaderQuery = "" /* 558-byte string literal not displayed */
View Source
const MemberQuery = "" /* 213-byte string literal not displayed */
Variables ¶
View Source
var Months = map[string]string{
"1": "Jänner",
"2": "Feber",
"3": "März",
"4": "April",
"5": "Mai",
"6": "Juni",
"7": "Juli",
"8": "August",
"9": "September",
"10": "Oktober",
"11": "November",
"12": "Dezember"}
View Source
var Weekdays = []string{"Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa.", "So."}
Functions ¶
func OpenDatabase ¶
func OpenDatabase() error
func PersistenceRunner ¶
func PersistenceRunner()
Types ¶
type Event ¶
type Event struct { Begin string `json:"begin"` Day int `json:"day"` Ending string `json:"ending"` Important bool `json:"important"` Internal bool `json:"internal"` MusicianBegin string `json:"musician_begin"` Name string `json:"name"` Note string `json:"note"` Weekday string `json:"weekday"` // contains filtered or unexported fields }
type EventGroup ¶
func (*EventGroup) IsPretty ¶
func (e *EventGroup) IsPretty() bool
func (*EventGroup) Prettyfy ¶
func (e *EventGroup) Prettyfy()
type Member ¶
type Member struct { Description string `json:"description"` Name string `json:"name"` Picture string `json:"picture"` Pretty bool // contains filtered or unexported fields }
func (*Member) PictureLink ¶
func (m *Member) PictureLink()
type MemberGroup ¶
type MemberGroup struct { Instrument string `json:"instrument"` InstrumentId int InstrumentPlural string Members []Member `json:"members"` Pretty bool }
func (*MemberGroup) IsPretty ¶
func (m *MemberGroup) IsPretty() bool
func (*MemberGroup) Prettyfy ¶
func (m *MemberGroup) Prettyfy()
Click to show internal directories.
Click to hide internal directories.