Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDataHasOddLength = errors.New("data has odd length")
ErrDataHasOddLength ...
View Source
var ErrNoDataToPresent = errors.New("did not receive data to present")
ErrNoDataToPresent ...
Functions ¶
This section is empty.
Types ¶
type Presenter ¶
type Presenter struct {
// contains filtered or unexported fields
}
Presenter repackages transactions into a view model
func NewPresenter ¶
NewPresenter creates a new presenter instance
func (*Presenter) OutputData ¶
OutputData returns the output data already converted to strings
type ViewModel ¶
type ViewModel struct {
// contains filtered or unexported fields
}
ViewModel contains data to be shown.
func NewViewModel ¶
NewViewModel creates a view model instance
Click to show internal directories.
Click to hide internal directories.