package
Version:
v2.6.3
Opens a new window with list of versions in this module.
Published: Oct 21, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Factory[T any] struct {
}
NewFactory returns a singleton factory that creates objects with new.
Get returns the singleton object registered under name, creating it on first use.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.