Documentation ¶
Index ¶
- func ResultToProto(r *Result) *pb.Result
- func VerseToProto(verse *Verse) *pb.Verse
- type Chapter
- type ChapterInfo
- type Pagination
- type Result
- type SearchResults
- type SearchTranslation
- type Tafsir
- type TranslatedName
- type Translation
- type TranslationText
- type Transliteration
- type Verse
- type VersesByChapter
- type Word
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResultToProto ¶
func VerseToProto ¶
Types ¶
type Chapter ¶
type Chapter struct { Id int32 `json:"id"` RevelationPlace string `json:"revelation_place"` RevelationOrder int32 `json:"revelation_order"` BismillahPrefix bool `json:"bismillah_pre"` NameSimple string `json:"name_simple"` NameComplex string `json:"name_complex"` NameArabic string `json:"name_arabic"` VersesCount int32 `json:"verses_count"` Pages []int32 `json:"pages"` TranslatedName *TranslatedName `json:"translated_name"` }
type ChapterInfo ¶
type Pagination ¶
type Result ¶
type Result struct { VerseId int32 `json:"verse_id"` VerseKey string `json:"verse_key"` Text string `json:"text"` Translations []*SearchTranslation `json:"translations"` }
type SearchResults ¶
type SearchTranslation ¶
type TranslatedName ¶
type Translation ¶
type TranslationText ¶
type Transliteration ¶
type Verse ¶
type Verse struct { Id int32 `json:"id"` VerseNumber int32 `json:"verse_number"` VerseKey string `json:"verse_key"` JuzNumber int32 `json:"juz_number"` HizbNumber int32 `json:"hizb_number"` RubNumber int32 `json:"rub_number"` PageNumber int32 `json:"page_number"` Translations []*TranslationText `json:"translations"` Tafsirs []*Tafsir `json:"tafsirs"` Words []*Word `json:"words"` TextImlaei string `json:"text_imlaei"` }
type VersesByChapter ¶
type VersesByChapter struct { Pagination *Pagination `json:"pagination"` Verses []*Verse `json:"verses"` }
type Word ¶
type Word struct { Id int32 `json:"id"` Position int32 `json:"position"` AudioUrl string `json:"audio_url"` CharTypeName string `json:"char_type_name"` CodeV1 string `json:"code_v1"` PageNumber int32 `json:"page_number"` LineNumber int32 `json:"line_number"` Text string `json:"text_imlaei"` Code string `json:"code_v2"` Translation *Translation `json:"translation"` Transliteration *Translation `json:"transliteration"` }
Click to show internal directories.
Click to hide internal directories.