Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTree = BTree{btree.New(2)}
DefaultTree is the default instance of the tree
Functions ¶
Types ¶
type BTree ¶
BTree wrapps the btree package
type Verse ¶
type Verse struct {
Date customTime `xml:"Datum" json:"date"`
Day string `xml:"Wtag" json:"weekday"`
Sunday string `xml:"Sonntag" json:"sunday_name"`
Text string `xml:"Losungstext" json:"verse"`
Reference string `xml:"Losungsvers" json:"reference"`
Teaching string `xml:"Lehrtext" json:"teaching"`
TeachingRef string `xml:"Lehrtextvers" json:"teaching_reference"`
TermsOfUse string `json:"terms_of_use"`
Bibliography string `json:"bibliography"`
}
Verse is the representation of a verse
func ImportVerses ¶
ImportVerses loads all verses from a directory and returns them as slice
Click to show internal directories.
Click to hide internal directories.