package
0.13.0
Repository: https://github.com/ibrt/golang-utils.git
Documentation: pkg.go.dev

# Packages

Package tinjectz provides test fixtures for the "injectz" package.

# Functions

NewBootstrap initializes a new [*Bootstrap].
NewCloseReleaser returns a [Releaser] that calls [io.Closer.Close], ignoring any returned error.
NewInjectors combines multiple [Injector] into a compound one.
NewNoopInjector returns an [Injector] that does nothing.
NewNoopReleaser returns a [Releaser] that does nothing.
NewReleasers combines multiple [Releaser] into a compound one (which invokes them in reverse order).
NewSingletonInjector returns a constant [Injector].

# Structs

Bootstrap builds and manages a group of [Initializer].

# Type aliases

Initializer initializes a module, returning a corresponding [Injector] and [Releaser].
Injector injects modules into a [context.Context].
Releaser releases a module (e.g.