Documentation
¶
Overview ¶
Package greeting provides the greeters used by the example.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Greeter ¶
type Greeter struct {
Prefix string
}
Greeter builds greeting lines.
func NewFormalGreeter ¶
NewFormalGreeter provides the greeter named "formal". @Provide(name=formal, index=0)
func NewGreeter ¶
NewGreeter provides the default greeter, whose prefix comes from config. @Provide(index=0)
Click to show internal directories.
Click to hide internal directories.