Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct {
// contains filtered or unexported fields
}
Deps provides a way to construct dependencies container, and supports dependency injection.
func (*Deps) Construct ¶
Construct takes a function in the form of `func(arg1 Type1, arg2 Type2,...) (ret, error)`. The arguments to the function is automatically filled with the dependency injection functionality.
Click to show internal directories.
Click to hide internal directories.