Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 491 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 491 Bytes

Quran Go Module

Build Status

Quran module for Go lang to working with Quran ayahs and surahs

New Quran

q, err := quran.New()
if err != nil {
    // ...
}

Get Surah

s := q.Surah(1) // Surah with number 1

Get Random Surah

s.RandSurah()

Get Ayah

s.Ayah(1) // Ayah number 1 of surah

Get Random Ayah Of Surah

s.RandAyah()