Discover Packages
github.com/micro/services
sunnah
domain
package
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Jun 20, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 1 module, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Book struct {
BookNumber string `json:"bookNumber"`
Book []*BookText `json:"book"`
HadithStartNumber int32 `json:"hadithStartNumber"`
HadithEndNumber int32 `json:"hadithEndNumber"`
NumberOfHadith int32 `json:"numberOfHadith"`
}
type BookRequest struct {
Data []*Book `json:"data"`
Total int32 `json:"total"`
Limit int32 `json:"limit"`
}
type BookText struct {
Lang string `json:"lang"`
Name string `json:"name"`
}
type Chapter struct {
BookNumber string `json:"bookNumber"`
ChapterId string `json:"chapterId"`
Chapter []*ChapterText `json:"chapter"`
}
type ChapterText struct {
Lang string `json:"lang"`
ChapterNumber string `json:"chapterNumber"`
ChapterTitle string `json:"chapterTitle"`
}
type ChaptersRequest struct {
Data []*Chapter `json:"data"`
Total int32 `json:"total"`
Limit int32 `json:"limit"`
}
type Collection struct {
Name string `json:"name"`
HasBooks bool `json:"hasBooks"`
HasChapters bool `json:"hasChapters"`
TotalHadith int32 `json:"totalHadith"`
TotalAvailableHadith int32 `json:"totalAvailableHadith"`
Collection []*CollectionText `json:"collection"`
}
type CollectionRequest struct {
Data []*Collection `json:"data"`
Total int32 `json:"total"`
Limit int32 `json:"limit"`
}
type CollectionText struct {
Lang string `json:"lang"`
Title string `json:"title"`
ShortIntro string `json:"shortIntro"`
}
type Hadith struct {
Collection string `json:"collection"`
BookNumber string `json:"bookNumber"`
ChapterId string `json:"chapterId"`
HadithNumber string `json:"hadithNumber"`
Hadith []*HadithText `json:"hadith"`
}
type HadithText struct {
Lang string `json:"lang"`
ChapterNumber string `json:"chapterNumber"`
ChapterTitle string `json:"chapterTitle"`
Body string `json:"body"`
}
type HadithsRequest struct {
Data []*Hadith `json:"data"`
Total int32 `json:"total"`
Limit int32 `json:"limit"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.