A Go module for parsing Bible references
go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MasterOfTheSoftware d5ea15b6e5 Update to new repo 1 week ago
COPYING Add program 1 week ago
COPYING.LESSER Add program 1 week ago
README.md Update to new repo 1 week ago
books.go Fix problems caused by dependence on JSON 1 week ago
bref.go Fix error with names and alts 1 week ago
bref_test.go Update test for process 1 week ago
go.mod Update to new repo 1 week ago
info.go Fix problems caused by dependence on JSON 1 week ago

README.md

bref

An advanced Bible reference parser with first class multi-language support written in Go.

Inspired by chapter-and-verse.

Features

  • First class support for parsing references in other languages
  • Simplicity and division into different functions
  • Good information about each book

Example

package main

import "code.heb12.com/Heb12/bref"

func main() {
	reference := "John 3:16"
	referenceData, _ := bref.Process(reference)
}

Todo

  • Search function (for searching different bookInfo fields and returning the matching books)
  • More language names
  • Support non-linear Bible references. E.g. “John 3:16,18

License

Copyright © 2020 Ted Jameson

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Foobar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

See COPYING.LESSER for more license information.

The JSON files are licensed under the ISC license, as found in chapter-and-verse.