go-prayer:Go 包获取特定位置的礼拜时间

时间:2021-05-29 01:36:25
【文件属性】:
文件名称:go-prayer:Go 包获取特定位置的礼拜时间
文件大小:100KB
文件格式:ZIP
更新时间:2021-05-29 01:36:25
go golang islam Go 祈祷 Go-Prayer 是一个 Go 包,用于计算特定日期特定地点的祈祷/salah 时间。 在大多数情况下,它应该足够准确,您可以根据需要调整时间。 但是,您可以使用配置中的TimeCorrections字段来更改结果。 用法 例如,我们希望获得 2020 年 9 月 4 日在印度尼西亚雅加达的祈祷时间: package main import ( "fmt" "time" "github.com/hablullah/go-prayer" ) func main () { // Prepare configuration cfg := prayer. Config { Latitude : - 6.21 , Longitude : 106.85 , Elevation : 50 , Calculation
【文件预览】:
go-prayer-master
----calculator_test.go(6KB)
----go.mod(98B)
----calculator.go(12KB)
----conventions.go(5KB)
----go.sum(187B)
----LICENSE(1KB)
----test()
--------ottawa.csv(23KB)
--------brasilia.csv(23KB)
--------sana.csv(23KB)
--------king-edward.csv(23KB)
--------longyearbyen.csv(23KB)
--------cairo.csv(23KB)
--------singapore.csv(23KB)
--------maputo.csv(23KB)
--------oslo.csv(23KB)
--------canberra.csv(23KB)
--------generator.go(3KB)
--------wellington.csv(23KB)
----README.md(13KB)
----sample()
--------sample.go(1KB)
----trigonometry.go(675B)
----.gitignore(8B)

网友评论