types

package
v0.0.0-...-c7ff7ed Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStore

type FileStore struct {
	Store filestorage.FileStorager
	Cache map[string][]byte
}

func (FileStore) Init

func (s FileStore) Init() *FileStore

type FileStores

type FileStores struct {
	Images  *FileStore
	Fonts   *FileStore
	Imports *FileStore
}

type ModelData

type ModelData struct {
	// contains filtered or unexported fields
}

func NewModelData

func NewModelData() *ModelData

func (*ModelData) Apply

func (d *ModelData) Apply(template string) (string, error)

func (*ModelData) Get

func (d *ModelData) Get(modelName string) interface{}

func (*ModelData) GetByPath

func (d *ModelData) GetByPath(path string) (string, error)

func (*ModelData) Set

func (d *ModelData) Set(modelName string, data interface{})

Jump to

Keyboard shortcuts

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