v1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiscordPrettified

func GetDiscordPrettified() string

func GetRAW

func GetRAW() []byte

func GetShellPrettified

func GetShellPrettified() string

Types

type Dates

type Dates struct {
	Hijri  string `json:"hijri"`
	Miladi string `json:"miladi"`
}

type Jumua

type Jumua struct {
	Fr string `json:"fr"`
	Ar string `json:"ar"`
}

type Prayer

type Prayer struct {
	Adhan string `json:"adhan"`
	Iqama string `json:"iqama"`
}

type Resp

type Resp struct {
	Dates   Dates  `json:"dates"`
	Fajr    Prayer `json:"fajr"`
	Sunrise string `json:"sunrise"`
	Dhuhr   Prayer `json:"dhuhr"`
	Asr     Prayer `json:"asr"`
	Maghrib Prayer `json:"maghrib"`
	Isha    Prayer `json:"isha"`
	Jumua   Jumua  `json:"jumua"`
}

func Get

func Get() (*Resp, error)

func UnmarshalResp

func UnmarshalResp(data []byte) (Resp, error)

func (*Resp) Marshal

func (r *Resp) Marshal() ([]byte, error)

Jump to

Keyboard shortcuts

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