Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanReference ¶
CleanReference takes a string, returns a normalized string for a semi-colon separated list of scripture references
Types ¶
type ChapVerse ¶
type ChapVerse struct { StartVerseSuffix rune // a, b, f EndVerseSuffix rune // a, b, f StartChapter uint8 StartVerse uint8 EndChapter uint8 EndVerse uint8 }
ChapVerse is the chapter/verse portion of a reference "1:14-2:7a"
type Reference ¶
Reference is the datastructure used for parsing/validating references
func ParseReference ¶
ParseReference parses a single free-form reference to a scripture passage and returns a *Reference use the stringer method to get a normalized string format back XXX This doesn't work for "Acts of the Apostles"
func ParseReferences ¶
ParseReference parses a free-form reference to a scripture passage and returns a []*Reference use the stringer method to get a normalized string format back
Click to show internal directories.
Click to hide internal directories.