tajweed

package
v0.0.6-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchAndInsertTajweed

func FetchAndInsertTajweed()

Types

type Ayah

type Ayah struct {
	Number        int         `json:"number"`
	Text          string      `json:"text"`
	NumberInSurah int         `json:"numberInSurah"`
	Juz           int         `json:"juz"`
	Manzil        int         `json:"manzil"`
	Page          int         `json:"page"`
	Ruku          int         `json:"ruku"`
	HizbQuarter   int         `json:"hizbQuarter"`
	Sajda         interface{} `json:"sajda"`
}

type Data

type Data struct {
	Surahs  []Surah `json:"surahs"`
	Edition Edition `json:"edition"`
}

type Edition

type Edition struct {
	Identifier  string `json:"identifier"`
	Language    string `json:"language"`
	Name        string `json:"name"`
	EnglishName string `json:"englishName"`
	Format      string `json:"format"`
	Type        string `json:"type"`
}

type Surah

type Surah struct {
	Number                 int    `json:"number"`
	Name                   string `json:"name"`
	EnglishName            string `json:"englishName"`
	EnglishNameTranslation string `json:"englishNameTranslation"`
	RevelationType         string `json:"revelationType"`
	Ayahs                  []Ayah `json:"ayahs"`
}

type Tajweed

type Tajweed struct {
	Code   int    `json:"code"`
	Status string `json:"status"`
	Data   Data   `json:"data"`
}

type TajweedRes

type TajweedRes struct {
	Ayah    int
	Surah   int
	Tajweed string
}

Jump to

Keyboard shortcuts

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