engine

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine interface {
	IdentifyModelTargets() ([]ModelTarget, error)
}

func NewEngine

func NewEngine(root fs.FS) (Engine, error)

type ModelTarget

type ModelTarget interface {
	Name() (string, error)
	PkgName() string
	GetDocumentText() (string, error)
	GetModel() (interface{}, error)
	GetLocation() (string, error)
	ToTemplateVariables() map[string]interface{}
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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