command

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultNowSupplier

func DefaultNowSupplier() time.Time

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL