core

package module
v0.0.0-...-02c57ef Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(initializrs ...Initializr)

func Instance

func Instance(target interface{}, args ...*Arg) (interface{}, error)

Types

type Arg

type Arg struct {
	Name  string
	Value interface{}
}

type Initializr

type Initializr interface {
	Initializr() interface{}
}

type Wire

type Wire interface {
	NewWire(...*Arg) (interface{}, error)
}

type WireFunc

type WireFunc func(...*Arg) (interface{}, error)

func (WireFunc) NewWire

func (f WireFunc) NewWire(args ...*Arg) (interface{}, error)

Jump to

Keyboard shortcuts

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