Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mborders/vulgata
Golang library containing the entire Holy Bible with both the Douay-Rheims English and Clementina Vulgata Latin texts
https://github.com/mborders/vulgata
bible catholic-bible clementina-vulgata douay-rheims golang latin-bible vulgata vulgate
Last synced: about 1 month ago
JSON representation
Golang library containing the entire Holy Bible with both the Douay-Rheims English and Clementina Vulgata Latin texts
- Host: GitHub
- URL: https://github.com/mborders/vulgata
- Owner: mborders
- License: mit
- Created: 2018-11-07T15:12:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-18T00:19:54.000Z (over 4 years ago)
- Last Synced: 2024-10-22T09:49:06.145Z (2 months ago)
- Topics: bible, catholic-bible, clementina-vulgata, douay-rheims, golang, latin-bible, vulgata, vulgate
- Language: Go
- Homepage:
- Size: 2.99 MB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-catholic - vulgata - La Santa Biblia con los textos en inglés de Douay-Rheims y en latín de Clementina Vulgata (Datos)
README
[![GoDoc](http://godoc.org/github.com/mborders/vulgata?status.png)](http://godoc.org/github.com/mborders/vulgata)
[![Build Status](https://travis-ci.org/mborders/vulgata.svg?branch=master)](https://travis-ci.org/mborders/vulgata)
[![Go Report Card](https://goreportcard.com/badge/github.com/mborders/vulgata)](https://goreportcard.com/report/github.com/mborders/vulgata)
[![codecov](https://codecov.io/gh/mborders/vulgata/branch/master/graph/badge.svg)](https://codecov.io/gh/mborders/vulgata)# vulgata
Golang library containing the entire Holy Bible with both the Douay-Rheims English and Clementina Vulgata Latin texts.
Documentation here: https://godoc.org/github.com/mborders/vulgata
## Example Usage
```go
// Create a new bible instance
b := vulgata.NewBible()// Get all book names for the old testament
names := b.OldTestament.GetBookNames()// Get book 1 from the old testament
book, err := b.OldTestament.GetBook(1)
fmt.Print(book.Title) // title of book// Get book 1, chapter 1 from the old testament
chap, err := b.OldTestament.GetChapter(1, 1)// Get book 4, chapter 8, verse 32 from the new testament
vers, err := b.NewTestament.GetVerse(4, 8, 32)
fmt.Print(vers.Text) // English
fmt.Print(vers.TextLatin) // Latin// Search for verses
v := b.Search("truth make you free", 10) // max of 10 results
fmt.Print(v[0].Book.Title)
fmt.Print(v[0].Chapter.ChapterNumber)
fmt.Print(v[0].Verse.Text)
fmt.Print(v[0].String()) // John 8:32
```