Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusTagSuccess = "success" StatusTagFailure = "failure" StatusTagSkip = "skip" )
Variables ¶
View Source
var (
ErrorWriterIsNotReady = errors.New("writer is not ready")
)
Functions ¶
This section is empty.
Types ¶
type ReportOpt ¶
type ReportOpt func(o *ReportOpts) *ReportOpts
func ColumnModel ¶
func HiddenColumns ¶
func NoConsoleOutput ¶
func NoConsoleOutput() ReportOpt
func ShowAllColumns ¶
type ReportOpts ¶
type ReportOpts struct { HiddenColumns map[string]bool ShowAllColumns bool ReportSuffix string NoConsoleOutput bool ColumnModel rp_column.Column }
func (*ReportOpts) IsHiddenColumn ¶
func (z *ReportOpts) IsHiddenColumn(name string) bool
type TransactionReport ¶
type TransactionReport interface { Report OpenNew(opts ...ReportOpt) (r TransactionReport, err error) Success(input interface{}, result interface{}) Failure(err error, input interface{}) Skip(reason app_msg.Message, input interface{}) SetModel(input interface{}, result interface{}, opts ...ReportOpt) }
type TransactionRow ¶
Click to show internal directories.
Click to hide internal directories.