Documentation ¶
Index ¶
- Constants
- Variables
- func GetRecord(id string) (models.Ltext, error)
- func Serve(port, home string)
- type Cell
- type Command
- func (p Command) Actor(a ...string) string
- func (p Command) ActorDialog(a ...string) string
- func (p Command) Dialog(a ...string) string
- func (p Command) DialogP(a ...string) string
- func (p Command) Generic(class string, a []string, f []css.SpanCss) string
- func (p Command) Insert(a ...string) string
- func (p Command) SetDate(year, month, day int)
- func (p Command) SetMCDay(d int)
- type Data
- type Row
- type Span
Constants ¶
View Source
const ( RIGHT = "rightCell" CENTER = "centerCell" LEFT = "leftCell" CELL1Of3 = "cellOneOfThree" CELL2Of3 = "cellTwoOfThree" CELL3Of3 = "cellThreeOfThree" )
Variables ¶
View Source
var Db *sqlx.DB
View Source
var DocProps docProps
View Source
var Domains []string
View Source
var Retrieved map[string]models.Ltext
stores the Ltext records that have already been retrieved from the database so we do not do another call to the db.
View Source
var TemplateDir string = "/Users/mac002/doxago/templates"
Functions ¶
Types ¶
type Command ¶
type Command string
func (Command) ActorDialog ¶
Liturgical template command
func (Command) Generic ¶
This is the generic version of template commands used to format liturgical texts.
Click to show internal directories.
Click to hide internal directories.