Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultNowSupplier ¶
func NewMockInput ¶
func NewMockInput() *mockInput
Types ¶
type HandlerBuilder ¶
type HandlerBuilder struct {
// contains filtered or unexported fields
}
func NewHandlerBuilder ¶
func NewHandlerBuilder(repository repository.Repository) *HandlerBuilder
func (*HandlerBuilder) Build ¶
func (builder *HandlerBuilder) Build() handler
func (*HandlerBuilder) WithNowSupplier ¶
func (builder *HandlerBuilder) WithNowSupplier(supplier nowSupplier) *HandlerBuilder
func (*HandlerBuilder) WithUserInputController ¶
func (builder *HandlerBuilder) WithUserInputController(inputController UserInputController) *HandlerBuilder
type UserInputController ¶
type UserInputController interface {
GetString() string
}
func NewUserInputController ¶
func NewUserInputController() UserInputController
Click to show internal directories.
Click to hide internal directories.