models

package
v0.0.0-...-4b7e737 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Orientation_Landscape = "landscape"
	Orientation_Portrait  = "portrait"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PrintOptions

type PrintOptions struct {
	PageHeight  float64          `json:"page_height"`
	PageWidth   float64          `json:"page_width"`
	Orientation PrintOrientation `json:"orientation"`
}

type PrintOrientation

type PrintOrientation string

type TemplateContext

type TemplateContext struct {
	Values interface{}
}

func (*TemplateContext) Sequence

func (ctx *TemplateContext) Sequence(size int) []int

Jump to

Keyboard shortcuts

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