Documentation
¶
Index ¶
- type Result
- func (it *Result) AsJsonContractsBinder() corejson.JsonContractsBinder
- func (it *Result) AsValueWithErrorWrapperBinder() errinf.ValueWithErrorWrapperBinder
- func (it *Result) Byte() byte
- func (it *Result) Dispose()
- func (it *Result) ErrorWrapperInf() errinf.ErrWrapper
- func (it *Result) HasError() bool
- func (it *Result) HasIssuesOrEmpty() bool
- func (it *Result) HasSafeItems() bool
- func (it *Result) Int() int
- func (it *Result) IsAnyNull() bool
- func (it *Result) IsApplicable() bool
- func (it *Result) IsEmpty() bool
- func (it *Result) IsEmptyError() bool
- func (it *Result) IsFailed() bool
- func (it *Result) IsFalse() bool
- func (it *Result) IsInvalid() bool
- func (it *Result) IsSuccess() bool
- func (it *Result) IsTrue() 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) SafeString() string
- 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) AsJsonContractsBinder() corejson.JsonContractsBinder
- func (it *Results) AsResultsContractsBinder() errinf.ResultsContractsBinder
- func (it *Results) AsValueWithErrorWrapperBinder() errinf.ValueWithErrorWrapperBinder
- func (it *Results) Clear()
- func (it *Results) Dispose()
- func (it *Results) ErrorWrapperInf() errinf.ErrWrapper
- func (it *Results) HasAnyItem() bool
- func (it *Results) HasError() bool
- func (it *Results) HasIssuesOrEmpty() bool
- func (it *Results) HasSafeItems() bool
- func (it *Results) IsAnyNull() bool
- func (it *Results) IsEmpty() bool
- func (it *Results) IsEmptyError() bool
- func (it *Results) IsFailed() bool
- func (it *Results) IsInvalid() 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) SafeString() string
- func (it *Results) SafeValues() []bool
- func (it *Results) SafeValuesPtr() *[]bool
- func (it Results) String() string
- 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) AsJsonContractsBinder() corejson.JsonContractsBinder
- func (it *ResultsWithErrorCollection) AsValuesWithErrorWrapperCollectionBinder() errinf.ValuesWithErrorWrapperCollectionBinder
- func (it *ResultsWithErrorCollection) Clear()
- func (it *ResultsWithErrorCollection) Dispose()
- func (it *ResultsWithErrorCollection) ErrorWrapperInf() errinf.ErrWrapper
- func (it *ResultsWithErrorCollection) HasAnyItem() bool
- func (it *ResultsWithErrorCollection) HasError() bool
- func (it *ResultsWithErrorCollection) HasIssuesOrEmpty() bool
- func (it *ResultsWithErrorCollection) HasSafeItems() bool
- func (it *ResultsWithErrorCollection) IsAnyNull() bool
- func (it *ResultsWithErrorCollection) IsEmpty() bool
- func (it *ResultsWithErrorCollection) IsEmptyError() bool
- func (it *ResultsWithErrorCollection) IsEmptyItems() bool
- func (it *ResultsWithErrorCollection) IsFailed() bool
- func (it *ResultsWithErrorCollection) IsInvalid() 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) SafeString() string
- func (it *ResultsWithErrorCollection) SafeValues() []bool
- func (it *ResultsWithErrorCollection) SafeValuesPtr() *[]bool
- func (it ResultsWithErrorCollection) String() string
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) AsJsonContractsBinder ¶ added in v0.8.7
func (it *Result) AsJsonContractsBinder() corejson.JsonContractsBinder
func (*Result) AsValueWithErrorWrapperBinder ¶ added in v0.7.6
func (it *Result) AsValueWithErrorWrapperBinder() errinf.ValueWithErrorWrapperBinder
func (*Result) ErrorWrapperInf ¶ added in v0.8.7
func (it *Result) ErrorWrapperInf() errinf.ErrWrapper
func (*Result) HasIssuesOrEmpty ¶ added in v0.7.6
HasIssuesOrEmpty
Indicates null || value false || has error
func (*Result) HasSafeItems ¶ added in v0.7.6
func (*Result) IsApplicable ¶ added in v0.8.9
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
func (*Result) SafeString ¶ added in v0.8.7
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) AsJsonContractsBinder ¶ added in v0.8.7
func (it *Results) AsJsonContractsBinder() corejson.JsonContractsBinder
func (*Results) AsResultsContractsBinder ¶ added in v0.8.7
func (it *Results) AsResultsContractsBinder() errinf.ResultsContractsBinder
func (*Results) AsValueWithErrorWrapperBinder ¶ added in v0.8.7
func (it *Results) AsValueWithErrorWrapperBinder() errinf.ValueWithErrorWrapperBinder
func (*Results) ErrorWrapperInf ¶ added in v0.8.7
func (it *Results) ErrorWrapperInf() errinf.ErrWrapper
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) SafeString ¶ added in v0.8.7
func (*Results) SafeValues ¶ added in v0.8.7
func (*Results) SafeValuesPtr ¶ added in v0.8.7
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) AsJsonContractsBinder ¶ added in v0.8.7
func (it *ResultsWithErrorCollection) AsJsonContractsBinder() corejson.JsonContractsBinder
func (*ResultsWithErrorCollection) AsValuesWithErrorWrapperCollectionBinder ¶ added in v0.8.7
func (it *ResultsWithErrorCollection) AsValuesWithErrorWrapperCollectionBinder() errinf.ValuesWithErrorWrapperCollectionBinder
func (*ResultsWithErrorCollection) Clear ¶ added in v0.8.7
func (it *ResultsWithErrorCollection) Clear()
func (*ResultsWithErrorCollection) Dispose ¶ added in v0.8.7
func (it *ResultsWithErrorCollection) Dispose()
func (*ResultsWithErrorCollection) ErrorWrapperInf ¶ added in v0.8.7
func (it *ResultsWithErrorCollection) ErrorWrapperInf() errinf.ErrWrapper
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) IsAnyNull ¶ added in v0.8.7
func (it *ResultsWithErrorCollection) IsAnyNull() bool
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) IsInvalid ¶ added in v0.8.9
func (it *ResultsWithErrorCollection) IsInvalid() 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) SafeString ¶ added in v0.8.7
func (it *ResultsWithErrorCollection) SafeString() string
func (*ResultsWithErrorCollection) SafeValues ¶ added in v0.8.7
func (it *ResultsWithErrorCollection) SafeValues() []bool
func (*ResultsWithErrorCollection) SafeValuesPtr ¶ added in v0.8.7
func (it *ResultsWithErrorCollection) SafeValuesPtr() *[]bool
func (ResultsWithErrorCollection) String ¶ added in v0.7.6
func (it ResultsWithErrorCollection) String() string
Click to show internal directories.
Click to hide internal directories.