Registry / utility / hablullah-go-prayer

hablullah-go-prayer

JSON →
library1.1.1gogounverified

A Go library for calculating Islamic prayer times.

go get github.com/hablullah/go-prayer
INSTALL
IMPORT
SIG · HABLULLAH-GO-PRAYE
H
hablullah-go-prayer
utilitygov1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

prayer
github.com/hablullah/go-prayer

Calculate prayer times for a given location and date.

package main import ( "fmt" "time" "github.com/hablullah/go-prayer" ) func main() { p := prayer.New(prayer.Config{ Latitude: 51.5074, Longitude: -0.1278, Timezone: 0, Method: prayer.MWL, }) times := p.Calculate(time.Now()) fmt.Println(times.Fajr) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hablullah-go-prayer — go get hablullah-go-prayer · libregistry