app

package
v0.0.0-...-f7dc048 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var App *app
View Source
var ErrRegisterFuncNumReturn = errors.New("only one value must be returned")
View Source
var ErrRegisterFuncTyp = errors.New("register must be 'func'")
View Source
var ErrRegisterFuncTypReturn = errors.New("return value must be 'ptr' or 'interface'")

Functions

func Call

func Call(i interface{}) reflect.Value

func Inject

func Inject(i interface{}) interface{}

inject struct

func Register

func Register(i ...interface{}) (err error)

func RegisterDeep

func RegisterDeep(i ...interface{}) (err error)

func Start

func Start()

Types

This section is empty.

Jump to

Keyboard shortcuts

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