model

package
v0.0.0-...-b8661fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COLUMNS      = "columns"
	LEAFLET      = "leaflet"
	HIGH_LEAFLET = "highLeaflet"
)

Variables

This section is empty.

Functions

func CalculatePageSize

func CalculatePageSize(data *Model)

Types

type Model

type Model struct {
	Event         string
	Description   string
	Style         string
	Columns       int
	UseCoverImage bool
	SongsOnBack   bool
	SongsOnCover  bool
	CoverImage    string
	FontSize      int
	Songs         []model.Song
	Page          Page
}

type Page

type Page struct {
	Width       float64
	Height      float64
	Orientation string
	Unit        string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL