biblepassageapi: 4d63.com/biblepassageapi Index | Files

package biblepassageapi

import "4d63.com/biblepassageapi"

Index

Package Files

bible.go bible_biblesorg.go bible_esvapi.go bible_net.go cache.go passage.go

Variables

var (
    CEV  = "CEV"
    GNT  = "GNT"
    NASB = "NASB"
    AMP  = "AMP"
    MSG  = "MSG"
)

type Bible Uses

type Bible interface {
    Source() string
    NameShort() string
    NameCommon() string
    Name() string
    GetPassage(reference string) (*Passage, error)
}

func Cache Uses

func Cache(b Bible, cacheFolderPath string) Bible

type BibleBiblesOrg Uses

type BibleBiblesOrg struct {
    // contains filtered or unexported fields
}

func NewBiblesOrg Uses

func NewBiblesOrg(apiKey, translation string) BibleBiblesOrg

func (BibleBiblesOrg) GetPassage Uses

func (b BibleBiblesOrg) GetPassage(reference string) (*Passage, error)

func (BibleBiblesOrg) Name Uses

func (b BibleBiblesOrg) Name() string

func (BibleBiblesOrg) NameCommon Uses

func (b BibleBiblesOrg) NameCommon() string

func (BibleBiblesOrg) NameShort Uses

func (b BibleBiblesOrg) NameShort() string

func (BibleBiblesOrg) Source Uses

func (b BibleBiblesOrg) Source() string

type BibleESVAPI Uses

type BibleESVAPI struct {
    // contains filtered or unexported fields
}

func NewESVAPI Uses

func NewESVAPI(apiKey string) BibleESVAPI

func (BibleESVAPI) GetPassage Uses

func (b BibleESVAPI) GetPassage(reference string) (*Passage, error)

func (BibleESVAPI) Name Uses

func (b BibleESVAPI) Name() string

func (BibleESVAPI) NameCommon Uses

func (b BibleESVAPI) NameCommon() string

func (BibleESVAPI) NameShort Uses

func (b BibleESVAPI) NameShort() string

func (BibleESVAPI) Source Uses

func (b BibleESVAPI) Source() string

type BibleNET Uses

type BibleNET struct{}

func NewBibleNET Uses

func NewBibleNET() BibleNET

func (BibleNET) GetPassage Uses

func (b BibleNET) GetPassage(reference string) (*Passage, error)

func (BibleNET) Name Uses

func (b BibleNET) Name() string

func (BibleNET) NameCommon Uses

func (b BibleNET) NameCommon() string

func (BibleNET) NameShort Uses

func (b BibleNET) NameShort() string

func (BibleNET) Source Uses

func (b BibleNET) Source() string

type Passage Uses

type Passage struct {
    Html         string
    TrackingCode string
    Copyright    string
}

func (*Passage) TimeToReadInMinutes Uses

func (p *Passage) TimeToReadInMinutes() int

Package biblepassageapi imports 10 packages (graph). Updated 2018-11-21. Refresh now. Tools for package owners.