Documentation ¶
Overview ¶
Package greeting defines greeting domain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { Name string `query:"name" default:"World"` Locale string `query:"locale" required:"true" enum:"en-US,ru-RU"` }
Params describes greeting input.
type SimpleMaker ¶
type SimpleMaker struct{}
SimpleMaker can greet you in two locales.
func (*SimpleMaker) GreetingMaker ¶
func (s *SimpleMaker) GreetingMaker() Maker
GreetingMaker implements service provider.
Click to show internal directories.
Click to hide internal directories.