factory

package
v1.24.0-basal-automated.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: BSD-3-Clause Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewFunc

type NewFunc func(inspector data.Inspector) (data.Datum, error)

func NewNewFuncWithFunc

func NewNewFuncWithFunc(datumFunc func() data.Datum) NewFunc

func NewNewFuncWithKeyAndMap

func NewNewFuncWithKeyAndMap(key string, newFuncMap NewFuncMap) NewFunc

type NewFuncMap

type NewFuncMap map[string]NewFunc

type Standard

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

func NewStandard

func NewStandard() (*Standard, error)

func (*Standard) Init

func (s *Standard) Init(inspector data.Inspector) (data.Datum, error)

func (*Standard) New

func (s *Standard) New(inspector data.Inspector) (data.Datum, error)

Jump to

Keyboard shortcuts

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