fixture

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BarcodeProp

func BarcodeProp() props.Barcode

BarcodeProp is responsible to give a valid props.Barcode.

func CellEntity

func CellEntity() entity.Cell

CellEntity is responsible to give a valid entity.Cell.

func CellProp

func CellProp() props.Cell

CellProp is responsible to give a valid props.Cell.

func CheckboxProp

func CheckboxProp() props.Checkbox

CheckboxProp is responsible to give a valid props.Checkbox.

func ColorProp

func ColorProp() props.Color

ColorProp is responsible to give a valid props.Color.

func ConfigEntity

func ConfigEntity() entity.Config

ConfigEntity is responsible to give a valid entity.Config.

func FontProp

func FontProp() props.Font

FontProp is responsible to give a valid props.Font.

func ImageEntity

func ImageEntity() entity.Image

ImageEntity is responsible to give a valid entity.Image.

func LineProp

func LineProp() props.Line

LineProp is responsible to give a valid props.Line.

func MarginsEntity

func MarginsEntity() entity.Margins

MarginsEntity is responsible to give a valid entity.Margins.

func PageProp

func PageProp() props.PageNumber

PageProp is responsible to give a valid props.PageNumber.

func RectProp

func RectProp() props.Rect

RectProp is responsible to give a valid props.Rect.

func SignatureProp

func SignatureProp() props.Signature

SignatureProp is responsible to give a valid props.Signature.

func TextProp

func TextProp() props.Text

TextProp is responsible to give a valid props.Text.

Types

type TestFont

type TestFont struct {
	Family string
	Style  fontstyle.Type
	File   string
	Bytes  []byte
}

func (TestFont) GetBytes

func (t TestFont) GetBytes() []byte

func (TestFont) GetFamily

func (t TestFont) GetFamily() string

func (TestFont) GetFile

func (t TestFont) GetFile() string

func (TestFont) GetStyle

func (t TestFont) GetStyle() fontstyle.Type

Jump to

Keyboard shortcuts

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