layouts

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldDateFormatDefault             = ""
	FieldDateFormatISO8601             = "ISO8601"
	FieldDateFormatISO8601WithTzOffset = "ISO8601_WITH_TZ_OFFSET"
	FieldDateFormatAbsoluteTime        = "ABSOLUTETIME"
	FieldDateFormatDateTime            = "DATETIME"
)

Variables

This section is empty.

Functions

func AddExternalLayout

func AddExternalLayout(name string, customLayout *func(*pkg.LayoutConfig) pkg.Layout)

AddExternalLayout add a custom Layout function

func ClearLayoutPool

func ClearLayoutPool()

ClearLayoutPool empty the pool

func LayoutFactory

func LayoutFactory(config types.LayoutConfiguration) iLayout

func NewLayout

func NewLayout(config pkg.LayoutConfig) pkg.Layout

NewLayout This function create a layout starting from a LayoutConfig. Returns a Layout

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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