Documentation ¶
Index ¶
- Variables
- type Resolver
- type Service
- func (c *Service) RandomVerse(opt ...ref.RandomReferenceOption) (*ref.Resolved, string, error)
- func (c *Service) RandomVerseHTML(opt ...ref.RandomReferenceOption) (*ref.Resolved, template.HTML, error)
- func (c *Service) Verse(vr string) (string, error)
- func (c *Service) VerseHTML(vr string) (template.HTML, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMultiVerse = errors.New("multiple verses not supported")
)
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Resolver
}
func NewService ¶
func (*Service) RandomVerse ¶
func (*Service) RandomVerseHTML ¶
Click to show internal directories.
Click to hide internal directories.