model

package
v0.0.0-...-f698437 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Book

type Book struct {
	XMLName xml.Name `xml:"book"`
	Title   string   `xml:"title"`
	Chapter Chapter  `xml:"chapter"`
}

type Chapter

type Chapter struct {
	XMLName xml.Name `xml:"chapter"`
	Chap    int32    `xml:"chap"`
	Verses  Verses   `xml:"verses"`
}

type Passage

type Passage struct {
	XMLName xml.Name `xml:"bible"`
	Book    Book     `xml:"book"`
}

type Verse

type Verse struct {
	XMLName xml.Name `xml:"verse"`
	Number  int32    `xml:"number"`
	Title   string   `xml:"title,omitempty"`
	Text    string   `xml:"text"`
}

type Verses

type Verses struct {
	XMLName xml.Name `xml:"verses"`
	Verse   []Verse  `xml:"verse"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL