process

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: Apache-2.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 Assistant added in v0.3.0

type Assistant struct {
	Ins  model.Instance
	Type string
}

Assistant are objects rendered by definition template.

type Context

type Context interface {
	SetBase(base model.Instance)
	PutAssistants(insts ...Assistant)
	SetConfigs(configs []map[string]string)
	Output() (model.Instance, []Assistant)
	Compile(label string) string
}

Context defines Rendering Context Interface

func NewContext

func NewContext(name string) Context

NewContext create render context

Jump to

Keyboard shortcuts

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