Documentation ¶ Index ¶ func Lookup(name string) (any, bool) func Register(name string, f any) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Lookup ¶ func Lookup(name string) (any, bool) Lookup a registered instance by name func Register ¶ func Register(name string, f any) Register an object against a name. This allows for a globally defined object similar to a package of functions or constants. This will panic if name has already been registered Types ¶ This section is empty. Source Files ¶ View all Source files registry.go Click to show internal directories. Click to hide internal directories.