model

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: MIT Imports: 2 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 {
	Name     string `db:"name"`
	Chapters int    `db:"chapters"`
}

func (Book) String

func (b Book) String() string

type Footnote

type Footnote struct {
	Book    string `db:"book"`
	Chapter int    `db:"chapter"`
	Number  int    `db:"number"`
	Text    string `db:"text"`
	Verse   int    `db:"verse_id"`
}

type Verse

type Verse struct {
	Book    string  `db:"book"`
	Chapter int     `db:"chapter"`
	Number  int     `db:"number"`
	Part    int     `db:"part"`
	Text    string  `db:"text"`
	Title   *string `db:"title"`
}

func (Verse) ChapterString

func (v Verse) ChapterString() string

func (Verse) HasTitle

func (v Verse) HasTitle() bool

func (Verse) NumberString

func (v Verse) NumberString() string

func (Verse) TitleString

func (v Verse) TitleString() string

Jump to

Keyboard shortcuts

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