Documentation
¶
Index ¶
- type Result
- func EmptyErrorResult(result bool) Result
- func EmptyErrorResultPtr(result bool) *Result
- func Error(err error) Result
- func ErrorPtr(err error) *Result
- func ErrorWrapper(errW *errorwrapper.Wrapper) Result
- func ErrorWrapperPtr(errW *errorwrapper.Wrapper) *Result
- func New(result bool, variation errtype.Variation, errMsg string) Result
- func NewError(result bool, err error) Result
- func NewErrorWithType(result bool, variation errtype.Variation, err error) Result
- func NewPtr(result bool, variation errtype.Variation, errMsg string) *Result
- func NewSimple(result bool, variation errtype.Variation) Result
- func NewSimplePtr(result bool, variation errtype.Variation) *Result
- func NewUsingWrapper(result bool, errW *errorwrapper.Wrapper) Result
- func NewUsingWrapperPtr(result bool, errW *errorwrapper.Wrapper) *Result
- type Result2
- type Result3
- type ResultWithApplicable
- func EmptyErrorApplicableResult(result bool, isApplicable bool) ResultWithApplicable
- func EmptyErrorApplicableResultPtr(result bool, isApplicable bool) *ResultWithApplicable
- func NewApplicable(result bool, isApplicable bool, variation errtype.Variation, errMsg string) ResultWithApplicable
- func NewApplicablePtr(result bool, isApplicable bool, variation errtype.Variation, errMsg string) *ResultWithApplicable
- type ResultWithApplicable2
- func EmptyErrorApplicableResult2(result bool, result2 bool, isApplicable bool) ResultWithApplicable2
- func EmptyErrorApplicableResult2Ptr(result bool, result2 bool, isApplicable bool) *ResultWithApplicable2
- func NewApplicable2(result, result2 bool, isApplicable bool, variation errtype.Variation, ...) ResultWithApplicable2
- func NewApplicable2Ptr(result, result2 bool, isApplicable bool, variation errtype.Variation, ...) *ResultWithApplicable2
- func (resultWithApplicable2 *ResultWithApplicable2) IsAllTrue() bool
- func (resultWithApplicable2 *ResultWithApplicable2) IsAllTruePlusApplicable() bool
- func (resultWithApplicable2 *ResultWithApplicable2) IsAllTruePlusApplicableNoError() bool
- func (resultWithApplicable2 *ResultWithApplicable2) IsAnyFalse() bool
- type Results
- func EmptyErrorResults(values ...bool) Results
- func EmptyErrorResultsPtr(values *[]bool) *Results
- func NewResults(variation errtype.Variation, errMsg string, values ...bool) Results
- func NewResultsPtr(values *[]bool, err error) *Results
- func NewResultsUsingWrapperPtr(values *[]bool, errW *errorwrapper.Wrapper) *Results
- func ResultsError(variation errtype.Variation, err error) *Results
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Value bool ErrorWrapper *errorwrapper.Wrapper }
func EmptyErrorResult ¶
func EmptyErrorResultPtr ¶
func ErrorWrapper ¶ added in v0.1.9
func ErrorWrapper( errW *errorwrapper.Wrapper, ) Result
func ErrorWrapperPtr ¶ added in v0.1.9
func ErrorWrapperPtr( errW *errorwrapper.Wrapper, ) *Result
func NewErrorWithType ¶
func NewUsingWrapper ¶ added in v0.1.9
func NewUsingWrapper( result bool, errW *errorwrapper.Wrapper, ) Result
func NewUsingWrapperPtr ¶ added in v0.2.0
func NewUsingWrapperPtr( result bool, errW *errorwrapper.Wrapper, ) *Result
type Result2 ¶
type Result2 struct { Value bool Value2 bool ErrorWrapper *errorwrapper.Wrapper }
func (*Result2) IsAllTruePlusNoError ¶
type Result3 ¶
type Result3 struct { Value bool Value2 bool Value3 bool ErrorWrapper *errorwrapper.Wrapper }
func (*Result3) IsAllTruePlusNoError ¶
type ResultWithApplicable ¶
type ResultWithApplicable struct { Value bool IsApplicable bool ErrorWrapper *errorwrapper.Wrapper }
func EmptyErrorApplicableResult ¶
func EmptyErrorApplicableResult( result bool, isApplicable bool, ) ResultWithApplicable
func EmptyErrorApplicableResultPtr ¶
func EmptyErrorApplicableResultPtr( result bool, isApplicable bool, ) *ResultWithApplicable
func NewApplicable ¶
func NewApplicablePtr ¶
func (*ResultWithApplicable) IsAllTruePlusApplicableNoError ¶
func (resultWithApplicable *ResultWithApplicable) IsAllTruePlusApplicableNoError() bool
type ResultWithApplicable2 ¶
type ResultWithApplicable2 struct { Value bool Value2 bool IsApplicable bool ErrorWrapper *errorwrapper.Wrapper }
func EmptyErrorApplicableResult2 ¶
func EmptyErrorApplicableResult2( result bool, result2 bool, isApplicable bool, ) ResultWithApplicable2
func EmptyErrorApplicableResult2Ptr ¶
func EmptyErrorApplicableResult2Ptr( result bool, result2 bool, isApplicable bool, ) *ResultWithApplicable2
func NewApplicable2 ¶
func NewApplicable2Ptr ¶
func (*ResultWithApplicable2) IsAllTrue ¶
func (resultWithApplicable2 *ResultWithApplicable2) IsAllTrue() bool
func (*ResultWithApplicable2) IsAllTruePlusApplicable ¶
func (resultWithApplicable2 *ResultWithApplicable2) IsAllTruePlusApplicable() bool
func (*ResultWithApplicable2) IsAllTruePlusApplicableNoError ¶
func (resultWithApplicable2 *ResultWithApplicable2) IsAllTruePlusApplicableNoError() bool
func (*ResultWithApplicable2) IsAnyFalse ¶
func (resultWithApplicable2 *ResultWithApplicable2) IsAnyFalse() bool
type Results ¶
type Results struct { Values *[]bool ErrorWrapper *errorwrapper.Wrapper }
func EmptyErrorResults ¶
func EmptyErrorResultsPtr ¶
func NewResults ¶
func NewResultsPtr ¶
func NewResultsUsingWrapperPtr ¶ added in v0.2.1
func NewResultsUsingWrapperPtr( values *[]bool, errW *errorwrapper.Wrapper, ) *Results
func ResultsError ¶ added in v0.0.5
func (*Results) IsEmptyResult ¶
Click to show internal directories.
Click to hide internal directories.