translations

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertTranslationsData

func InsertTranslationsData(extraEdition *string)

Types

type EditionData

type EditionData struct {
	ID      int    `json:"id"`
	Name    string `json:"name"`
	Source  string `json:"source"`
	Enabled int    `json:"enabled"`
}

type JuzMapping

type JuzMapping struct {
	Juz   int   `json:"juz"`
	Start Verse `json:"start"`
	End   Verse `json:"end"`
}

type Quran

type Quran struct {
	Chapter int64  `json:"chapter"`
	Verse   int64  `json:"verse"`
	Text    string `json:"text"`
}

type QuranText

type QuranText struct {
	Quran []Quran `json:"quran"`
}

type QuranVerses

type QuranVerses struct {
	Quran []struct {
		Chapter int    `json:"chapter"`
		Verse   int    `json:"verse"`
		Text    string `json:"text"`
	} `json:"quran"`
}

type Verse

type Verse struct {
	Chapter int `json:"chapter"`
	Verse   int `json:"verse"`
}

Jump to

Keyboard shortcuts

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