Versions in this module Expand all Collapse all v0 v0.14.0 Feb 8, 2026 v0.13.0 Feb 8, 2026 Changes in this version + func ControllerE[T any](h *Harness, moduleName, controllerName string) (T, error) + func Controller[T any](tb TB, h *Harness, moduleName, controllerName string) T + func GetE[T any](h *Harness, token module.Token) (T, error) + func Get[T any](tb TB, h *Harness, token module.Token) T + type ControllerNotFoundError struct + Module string + Name string + func (e *ControllerNotFoundError) Error() string + type Harness struct + func New(tb TB, root module.Module, opts ...Option) *Harness + func NewE(tb TB, root module.Module, opts ...Option) (*Harness, error) + func (h *Harness) App() *kernel.App + func (h *Harness) Close() error + func (h *Harness) CloseContext(ctx context.Context) error + type HarnessCloseError struct + CloseErr error + HookErr error + func (e *HarnessCloseError) Error() string + func (e *HarnessCloseError) Unwrap() []error + type NilOptionError struct + Index int + func (e *NilOptionError) Error() string + type Option interface + func WithOverrides(overrides ...Override) Option + func WithoutAutoClose() Option + type Override struct + Build func(module.Resolver) (any, error) + Cleanup func(context.Context) error + Token module.Token + func OverrideBuild(token module.Token, build func(module.Resolver) (any, error)) Override + func OverrideValue(token module.Token, value any) Override + type TB interface + Cleanup func(func()) + Fatalf func(format string, args ...any) + Helper func() + type TypeAssertionError struct + Actual string + Context string + Target string + func (e *TypeAssertionError) Error() string