di

package
v0.14.5 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Invoke

func Invoke(function interface{}) error

func MustInvoke

func MustInvoke(function interface{})

func MustProvide

func MustProvide(constructor interface{})

func Provide

func Provide(constructor interface{}) error

func ProvideCqlSession added in v0.14.3

func ProvideCqlSession(s gocqlx.Session)

func ProvideSqlSession added in v0.14.3

func ProvideSqlSession(s *gorm.DB)

Types

type Container added in v0.14.3

type Container = dig.Container

func New added in v0.14.3

func New() *Container

type In

type In = dig.In

type Out

type Out = dig.Out

Jump to

Keyboard shortcuts

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