Discover Packages
github.com/xgodev/boost
inject
examples
simple
app
package
Version:
v1.6.1
Opens a new window with list of versions in this module.
Published: Oct 19, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package app consumes the values provided by the other packages.
Announce greets every name of the group, formally and casually. The
casual greeter and the board are resolved by type, without @Inject.
@Inject(name=formal, index=0)
@Inject(group=names, index=2)
@Invoke
type Board struct {
Lines []string
}
Board collects the lines written by Announce.
NewBoard provides the board.
@Provide(index=0)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.