package
Version:
v2.0.0
Opens a new window with list of versions in this module.
Published: Sep 29, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Group is a lazy load container.
func NewGroup(new func() interface{}) *Group
NewGroup news a group container.
Clear deletes all objects.
Get gets the object by the given key.
func (g *Group) Reset(new func() interface{})
Reset resets the new function and deletes all existing objects.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.