extensions

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GlobalInit

func GlobalInit(deps *InitDeps) port.InitFunc

GlobalInit is the initialization function that runs BEFORE all injectors. It loads shared data that will be available to all injectors via InitData().

Types

type InitDeps

type InitDeps struct {
}

InitDeps contains the dependencies that the user needs for Init. The user must define the fields according to their needs.

type InitializedData

type InitializedData struct {
}

InitializedData is the custom struct that contains all the data loaded in Init() and available to all injectors. The user defines the structure according to their needs.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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