Documentation
¶
Index ¶
- type Result
- func EmptyErrorResult(result interface{}) Result
- func EmptyErrorResultPtr(result interface{}) *Result
- func New(result interface{}, variation errtype.Variation, errMsg string) Result
- func NewError(result interface{}, err error) Result
- func NewErrorWithType(result interface{}, variation errtype.Variation, err error) Result
- func NewPtr(result interface{}, variation errtype.Variation, errMsg string) *Result
- func NewSimple(result interface{}, variation errtype.Variation) Result
- type Result2
- type Result3
- type ResultWithApplicable
- func EmptyErrorApplicableResult(result interface{}, isApplicable bool) ResultWithApplicable
- func EmptyErrorApplicableResultPtr(result interface{}, isApplicable bool) *ResultWithApplicable
- func NewApplicable(result interface{}, isApplicable bool, variation errtype.Variation, ...) ResultWithApplicable
- func NewApplicablePtr(result interface{}, isApplicable bool, variation errtype.Variation, ...) *ResultWithApplicable
- type ResultWithApplicable2
- func EmptyErrorApplicableResult2(result interface{}, result2 interface{}, isApplicable bool) ResultWithApplicable2
- func EmptyErrorApplicableResult2Ptr(result interface{}, result2 interface{}, isApplicable bool) *ResultWithApplicable2
- func NewApplicable2(result, result2 interface{}, isApplicable bool, variation errtype.Variation, ...) ResultWithApplicable2
- func NewApplicable2Ptr(result, result2 interface{}, isApplicable bool, variation errtype.Variation, ...) *ResultWithApplicable2
- type Results
- func EmptyErrorResults(isApplicable bool, values ...interface{}) Results
- func EmptyErrorResultsPtr(isApplicable bool, values ...interface{}) *Results
- func EmptyErrorResultsPtrOrPtr(isApplicable bool, values *[]interface{}) *Results
- func NewResults(variation errtype.Variation, errMsg string, isApplicable bool, ...) Results
- func NewResultsPtr(variation errtype.Variation, errMsg string, isApplicable bool, ...) *Results
- func NewResultsPtrOfPtr(variation errtype.Variation, errMsg string, isApplicable bool, ...) *Results
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Value interface{} ErrorWrapper errorwrapper.Wrapper }
func EmptyErrorResult ¶
func EmptyErrorResult( result interface{}, ) Result
func EmptyErrorResultPtr ¶
func EmptyErrorResultPtr( result interface{}, ) *Result
func NewErrorWithType ¶
type Result2 ¶
type Result2 struct { Value interface{} Value2 interface{} ErrorWrapper errorwrapper.Wrapper }
func (*Result2) IsAllNonNullPlusApplicableNoError ¶
type Result3 ¶
type Result3 struct { Value interface{} Value2 interface{} Value3 interface{} ErrorWrapper errorwrapper.Wrapper }
func (*Result3) IsAllNonNullPlusApplicableNoError ¶
type ResultWithApplicable ¶
type ResultWithApplicable struct { Value interface{} IsApplicable bool ErrorWrapper errorwrapper.Wrapper }
func EmptyErrorApplicableResult ¶
func EmptyErrorApplicableResult( result interface{}, isApplicable bool, ) ResultWithApplicable
func EmptyErrorApplicableResultPtr ¶
func EmptyErrorApplicableResultPtr( result interface{}, isApplicable bool, ) *ResultWithApplicable
func NewApplicable ¶
func NewApplicable( result interface{}, isApplicable bool, variation errtype.Variation, errMsg string, ) ResultWithApplicable
func NewApplicablePtr ¶
func NewApplicablePtr( result interface{}, isApplicable bool, variation errtype.Variation, errMsg string, ) *ResultWithApplicable
func (*ResultWithApplicable) HasItemPlusApplicable ¶
func (resultWithApplicable *ResultWithApplicable) HasItemPlusApplicable() bool
func (*ResultWithApplicable) HasItemPlusApplicableNoError ¶
func (resultWithApplicable *ResultWithApplicable) HasItemPlusApplicableNoError() bool
func (*ResultWithApplicable) IsValueNull ¶
func (resultWithApplicable *ResultWithApplicable) IsValueNull() bool
type ResultWithApplicable2 ¶
type ResultWithApplicable2 struct { Value interface{} Value2 interface{} IsApplicable bool ErrorWrapper errorwrapper.Wrapper }
func EmptyErrorApplicableResult2 ¶
func EmptyErrorApplicableResult2( result interface{}, result2 interface{}, isApplicable bool, ) ResultWithApplicable2
func EmptyErrorApplicableResult2Ptr ¶
func EmptyErrorApplicableResult2Ptr( result interface{}, result2 interface{}, isApplicable bool, ) *ResultWithApplicable2
func NewApplicable2 ¶
func NewApplicable2( result, result2 interface{}, isApplicable bool, variation errtype.Variation, errMsg string, ) ResultWithApplicable2
func NewApplicable2Ptr ¶
func NewApplicable2Ptr( result, result2 interface{}, isApplicable bool, variation errtype.Variation, errMsg string, ) *ResultWithApplicable2
func (*ResultWithApplicable2) IsAllValuesNull ¶
func (resultWithApplicable2 *ResultWithApplicable2) IsAllValuesNull() bool
func (*ResultWithApplicable2) IsAnyValueNull ¶
func (resultWithApplicable2 *ResultWithApplicable2) IsAnyValueNull() bool
func (*ResultWithApplicable2) IsValue2Null ¶
func (resultWithApplicable2 *ResultWithApplicable2) IsValue2Null() bool
func (*ResultWithApplicable2) IsValueNull ¶
func (resultWithApplicable2 *ResultWithApplicable2) IsValueNull() bool
type Results ¶
type Results struct { Values *[]interface{} IsApplicable bool ErrorWrapper errorwrapper.Wrapper }
func EmptyErrorResults ¶
func EmptyErrorResultsPtr ¶
func NewResults ¶
func NewResultsPtr ¶
func NewResultsPtrOfPtr ¶
func (*Results) HasItemPlusApplicable ¶
func (*Results) IsEmptyResult ¶
Click to show internal directories.
Click to hide internal directories.