Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewOnce sync.Once
Functions ¶
func NewModule ¶
NewModule registers github.com/xgodev/boost/builder/examples/simple/stockaudit.New 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.
func OptionsModule ¶
OptionsModule provides the Options of github.com/xgodev/boost/builder/examples/simple/stockaudit, filled from the config keys under builder.examples.simple.stockaudit. It returns an empty option after the first call, so every consumer can include it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.