utils

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Identity

func Identity[T any]() func(T) T

func ProvideAll

func ProvideAll(c *dig.Container, constructors ...interface{}) error

func Register

func Register[T any](c *dig.Container) error

func Visualize

func Visualize(c *dig.Container) string

Types

type HandlerProvider

type HandlerProvider[K comparable, C any] struct {
	Type K
	New  C
}

Jump to

Keyboard shortcuts

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