models

package
v0.0.0-...-0e42b2a Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chapter

type Chapter struct {
	ID                   int    `json:"id"`
	Bismillah            bool   `json:"bismillah"`
	ChapterNumber        int    `json:"chapter_number"`
	ChapterType          string `json:"chapter_type"`
	ChapterVerse         int    `json:"chapter_verse"`
	ChapterName          string `json:"chapter_name"`
	ChapterNameArabic    string `json:"chapter_name_arabic"`
	ChapterNameComplex   string `json:"chapter_name_complex"`
	ChapterNameTranslate struct {
		Indonesia string `json:"indonesia"`
		English   string `json:"english"`
	} `json:"chapter_name_translate"`
}

type ChapterVerse

type ChapterVerse struct {
	Chapter []Chapter `json:"chapter"`
	Verse   []Verse   `json:"verse"`
}

type ReadChapter

type ReadChapter struct {
	Chapter Chapter `json:"chapter"`
	Verse   []Verse `json:"verse"`
}

type Verse

type Verse struct {
	ID             int    `json:"id"`
	VerseNumber    int    `json:"verse_number"`
	VerseQuran     string `json:"verse_quran"`
	VerseLatin     string `json:"verse_latin"`
	VerseTranslate struct {
		Indonesia string `json:"indonesia"`
		English   string `json:"english"`
	} `json:"verse_translate"`
}

Jump to

Keyboard shortcuts

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