Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AliceOnce sync.Once
View Source
var BobOnce sync.Once
Functions ¶
func AliceModule ¶
AliceModule registers github.com/xgodev/boost/inject/examples/simple/names.Alice and the modules it depends on. It returns an empty option after the first call, so a constructor shared by several modules is registered only once.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.