Documentation
¶
Index ¶
- type Result
- func (it *Result) AsValueWithErrorWrapperBinder() errinf.ValueWithErrorWrapperBinder
- func (it *Result) Byte() byte
- func (it *Result) HasError() bool
- func (it *Result) HasIssuesOrEmpty() bool
- func (it *Result) HasSafeItems() bool
- func (it *Result) Int() int
- func (it *Result) IsEmpty() bool
- func (it *Result) IsEmptyError() bool
- func (it *Result) IsFailed() bool
- func (it *Result) IsSuccess() bool
- func (it *Result) IsValid() bool
- func (it Result) Json() corejson.Result
- func (it *Result) JsonModelAny() interface{}
- func (it *Result) JsonParseSelfInject(jsonResult *corejson.Result) error
- func (it Result) JsonPtr() *corejson.Result
- func (it *Result) String() string
- 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 (it *Results) AsValuesWithErrorWrapperBinder() errinf.ValuesWithErrorWrapperBinder
- func (it *Results) HasAnyItem() bool
- func (it *Results) HasError() bool
- func (it *Results) HasIssuesOrEmpty() bool
- func (it *Results) HasSafeItems() bool
- func (it *Results) IsEmpty() bool
- func (it *Results) IsEmptyError() bool
- func (it *Results) IsFailed() bool
- func (it *Results) IsSuccess() bool
- func (it *Results) IsValid() bool
- func (it Results) Json() corejson.Result
- func (it *Results) JsonModelAny() interface{}
- func (it *Results) JsonParseSelfInject(jsonResult *corejson.Result) error
- func (it Results) JsonPtr() *corejson.Result
- func (it *Results) Length() int
- func (it *Results) String() string
- func (it *Results) ValueMust() *[]bool
- func (it *Results) ValueNonPtr() []bool
- type ResultsWithErrorCollection
- func EmptyResultsWithErrorCollection() *ResultsWithErrorCollection
- func NewResultsWithErrorCollection(values []bool, errCollection *errwrappers.Collection) *ResultsWithErrorCollection
- func NewResultsWithErrorCollectionUsingErrorCollection(errCollection *errwrappers.Collection) *ResultsWithErrorCollection
- func NewResultsWithErrorCollectionUsingType(errType errtype.Variation) *ResultsWithErrorCollection
- func NewResultsWithErrorCollectionUsingTypeError(errType errtype.Variation, err error) *ResultsWithErrorCollection
- func NewResultsWithErrorCollectionUsingTypeMessage(errType errtype.Variation, msg string) *ResultsWithErrorCollection
- func (it *ResultsWithErrorCollection) AsValuesWithErrorWrapperBinder() errinf.ValuesWithErrorWrapperBinder
- func (it *ResultsWithErrorCollection) HasAnyItem() bool
- func (it *ResultsWithErrorCollection) HasError() bool
- func (it *ResultsWithErrorCollection) HasIssuesOrEmpty() bool
- func (it *ResultsWithErrorCollection) HasSafeItems() bool
- func (it *ResultsWithErrorCollection) IsEmpty() bool
- func (it *ResultsWithErrorCollection) IsEmptyError() bool
- func (it *ResultsWithErrorCollection) IsEmptyItems() bool
- func (it *ResultsWithErrorCollection) IsFailed() bool
- func (it *ResultsWithErrorCollection) IsSuccess() bool
- func (it *ResultsWithErrorCollection) IsValid() bool
- func (it ResultsWithErrorCollection) Json() corejson.Result
- func (it *ResultsWithErrorCollection) JsonModelAny() interface{}
- func (it *ResultsWithErrorCollection) JsonParseSelfInject(jsonResult *corejson.Result) error
- func (it ResultsWithErrorCollection) JsonPtr() *corejson.Result
- func (it *ResultsWithErrorCollection) Length() int
- func (it *ResultsWithErrorCollection) String() string
- func (it *ResultsWithErrorCollection) ValueMust() *[]bool
- func (it *ResultsWithErrorCollection) ValueNonPtr() []bool
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 ErrorWrapper ¶ added in v0.1.9
func ErrorWrapper( errW *errorwrapper.Wrapper, ) *Result
func (*Result) AsValueWithErrorWrapperBinder ¶ added in v0.7.6
func (it *Result) AsValueWithErrorWrapperBinder() errinf.ValueWithErrorWrapperBinder
func (*Result) HasIssuesOrEmpty ¶ added in v0.7.6
func (*Result) HasSafeItems ¶ added in v0.7.6
func (*Result) IsEmptyError ¶ added in v0.4.9
func (*Result) JsonModelAny ¶ added in v0.7.6
func (it *Result) JsonModelAny() interface{}
func (*Result) JsonParseSelfInject ¶ added in v0.7.6
type Result2 ¶
func EmptyErrorNew2 ¶ added in v0.7.6
func EmptyErrorNew2( errorWrapper *errorwrapper.Wrapper, ) *Result2
type Result3 ¶
func EmptyNew3UsingErrorWrapper ¶ added in v0.7.6
func EmptyNew3UsingErrorWrapper(errWp *errorwrapper.Wrapper) *Result3
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 EmptyResults ¶ added in v0.7.5
func EmptyResults() *Results
func EmptyResultsWithError ¶ added in v0.7.5
func EmptyResultsWithError( errorWrapper *errorwrapper.Wrapper, ) *Results
func NewResults ¶
func NewResults( errWrapper *errorwrapper.Wrapper, values ...bool, ) *Results
func ResultsError ¶ added in v0.0.5
func (*Results) AsValuesWithErrorWrapperBinder ¶ added in v0.7.6
func (it *Results) AsValuesWithErrorWrapperBinder() errinf.ValuesWithErrorWrapperBinder
func (*Results) HasAnyItem ¶ added in v0.7.3
func (*Results) HasIssuesOrEmpty ¶ added in v0.3.8
func (*Results) HasSafeItems ¶ added in v0.3.8
HasSafeItems No errors and has items
func (*Results) IsEmptyError ¶ added in v0.3.8
func (*Results) JsonModelAny ¶ added in v0.7.6
func (it *Results) JsonModelAny() interface{}
func (*Results) JsonParseSelfInject ¶ added in v0.7.6
func (*Results) ValueNonPtr ¶ added in v0.7.3
type ResultsWithErrorCollection ¶ added in v0.3.8
type ResultsWithErrorCollection struct { Values []bool ErrorWrappers *errwrappers.Collection }
func EmptyResultsWithErrorCollection ¶ added in v0.3.8
func EmptyResultsWithErrorCollection() *ResultsWithErrorCollection
func NewResultsWithErrorCollection ¶ added in v0.3.8
func NewResultsWithErrorCollection( values []bool, errCollection *errwrappers.Collection, ) *ResultsWithErrorCollection
func NewResultsWithErrorCollectionUsingErrorCollection ¶ added in v0.3.8
func NewResultsWithErrorCollectionUsingErrorCollection( errCollection *errwrappers.Collection, ) *ResultsWithErrorCollection
func NewResultsWithErrorCollectionUsingType ¶ added in v0.7.6
func NewResultsWithErrorCollectionUsingType( errType errtype.Variation, ) *ResultsWithErrorCollection
func NewResultsWithErrorCollectionUsingTypeError ¶ added in v0.7.6
func NewResultsWithErrorCollectionUsingTypeError( errType errtype.Variation, err error, ) *ResultsWithErrorCollection
func NewResultsWithErrorCollectionUsingTypeMessage ¶ added in v0.7.6
func NewResultsWithErrorCollectionUsingTypeMessage( errType errtype.Variation, msg string, ) *ResultsWithErrorCollection
func (*ResultsWithErrorCollection) AsValuesWithErrorWrapperBinder ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) AsValuesWithErrorWrapperBinder() errinf.ValuesWithErrorWrapperBinder
func (*ResultsWithErrorCollection) HasAnyItem ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) HasAnyItem() bool
func (*ResultsWithErrorCollection) HasError ¶ added in v0.3.8
func (it *ResultsWithErrorCollection) HasError() bool
func (*ResultsWithErrorCollection) HasIssuesOrEmpty ¶ added in v0.3.8
func (it *ResultsWithErrorCollection) HasIssuesOrEmpty() bool
func (*ResultsWithErrorCollection) HasSafeItems ¶ added in v0.3.8
func (it *ResultsWithErrorCollection) HasSafeItems() bool
HasSafeItems No errors and has items
func (*ResultsWithErrorCollection) IsEmpty ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) IsEmpty() bool
func (*ResultsWithErrorCollection) IsEmptyError ¶ added in v0.3.8
func (it *ResultsWithErrorCollection) IsEmptyError() bool
func (*ResultsWithErrorCollection) IsEmptyItems ¶ added in v0.3.8
func (it *ResultsWithErrorCollection) IsEmptyItems() bool
func (*ResultsWithErrorCollection) IsFailed ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) IsFailed() bool
func (*ResultsWithErrorCollection) IsSuccess ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) IsSuccess() bool
func (*ResultsWithErrorCollection) IsValid ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) IsValid() bool
func (ResultsWithErrorCollection) Json ¶ added in v0.7.6
func (it ResultsWithErrorCollection) Json() corejson.Result
func (*ResultsWithErrorCollection) JsonModelAny ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) JsonModelAny() interface{}
func (*ResultsWithErrorCollection) JsonParseSelfInject ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) JsonParseSelfInject(jsonResult *corejson.Result) error
func (ResultsWithErrorCollection) JsonPtr ¶ added in v0.7.9
func (it ResultsWithErrorCollection) JsonPtr() *corejson.Result
func (*ResultsWithErrorCollection) Length ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) Length() int
func (*ResultsWithErrorCollection) String ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) String() string
func (*ResultsWithErrorCollection) ValueMust ¶ added in v0.3.8
func (it *ResultsWithErrorCollection) ValueMust() *[]bool
func (*ResultsWithErrorCollection) ValueNonPtr ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) ValueNonPtr() []bool
Click to show internal directories.
Click to hide internal directories.