feat: Add Diyanet API provider

feat: Add UI
This commit is contained in:
abdus committed 2023-03-05 14:41:38 +01:00
1 parent d4ff42387f
commit 93af84cef8
17 files changed
+642 -43

No files matched your search

+10
View File
@@ -13,6 +13,16 @@ type TimesProvider interface {
Name() string
}
type Coordinates struct {
Latitude float64
Longitude float64
}
type LocationTimesProvider interface {
GetByCoords(ctx context.Context, coords Coordinates) ([]Times, error)
Name() string
}
type Times struct {
Date time.Time `json:"date"`
Fajr string `json:"fajr"`