services

package
v0.1.114 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

Contracts

Nothing in here should cause a circular reference. It should just be types and interfaces. Also its ok to have DI Getters that rely on getting the object by type.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReflectTypeISomething = di.GetInterfaceReflectType((*ISomething)(nil))
)

Functions

This section is empty.

Types

type ISomething

type ISomething interface {
	GetName() string
	SetName(name string)
}

func GetISomethingFromContainer

func GetISomethingFromContainer(ctn di.Container) ISomething

GetContextAccessorFromContainer from the Container

func GetISomethingsFromContainer

func GetISomethingsFromContainer(ctn di.Container) []ISomething

GetContextAccessorFromContainer from the Container

Jump to

Keyboard shortcuts

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