constructor

package
v0.0.0-...-deba36d Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Constructor

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

func New

func New(prototype interface{}, templateCreator TemplateCreator) *Constructor

func (*Constructor) Construct

func (c *Constructor) Construct(path string, values []map[string]interface{}, templateVars map[string]interface{}) (interface{}, []error)

type TemplateCreator

type TemplateCreator func(location string, template string, templateVars map[string]interface{}) (schema.Template, error)

type Validate

type Validate interface {
	Validate() error
}

Jump to

Keyboard shortcuts

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