Documentation
¶
Index ¶
- type Result
- func (it *Result) AsJsonContractsBinder() corejson.JsonContractsBinder
- func (it *Result) AsValueWithErrorWrapperBinder() errinf.ValueWithErrorWrapperBinder
- func (it *Result) Bool() bool
- func (it *Result) Byte() byte
- func (it *Result) Dispose()
- func (it *Result) Dynamic() *coredynamic.Dynamic
- func (it *Result) ErrorWrapperInf() errinf.ErrWrapper
- func (it *Result) Float32() float32
- func (it *Result) Float64() float64
- 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) IsInvalid() 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) SafeString() string
- func (it *Result) Str() string
- func (it *Result) String() string
- type Result2
- type Result3
- type ResultWithApplicable
- type ResultWithApplicable2
- type Results
- func EmptyErrorResults(values ...interface{}) *Results
- func EmptyResults() *Results
- func EmptyResultsWithError(errorWrapper *errorwrapper.Wrapper) *Results
- func NewResults(errWrapper *errorwrapper.Wrapper, values ...interface{}) *Results
- func ResultsError(variation errtype.Variation, err error) *Results
- func (it *Results) AsJsonContractsBinder() corejson.JsonContractsBinder
- func (it *Results) AsResultsContractsBinder() errinf.ResultsContractsBinder
- func (it *Results) AsResultsWithErrorWrapper() 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() []interface{}
- func (it *Results) SafeValuesPtr() *[]interface{}
- func (it Results) String() string
- type ResultsWithErrorCollection
- func EmptyResultsWithErrorCollection() *ResultsWithErrorCollection
- func NewResultsWithErrorCollection(values []interface{}, 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) AsResultsContractsBinder() errinf.ResultsContractsBinder
- 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() []interface{}
- func (it *ResultsWithErrorCollection) SafeValuesPtr() *[]interface{}
- 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 interface{} ErrorWrapper *errorwrapper.Wrapper }
func EmptyErrorResult ¶
func EmptyErrorResult( result interface{}, ) *Result
func ErrorWrapper ¶ added in v0.1.9
func ErrorWrapper( errW *errorwrapper.Wrapper, ) *Result
func New ¶
func New( result interface{}, 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) Dynamic ¶ added in v0.7.6
func (it *Result) Dynamic() *coredynamic.Dynamic
func (*Result) ErrorWrapperInf ¶ added in v0.8.7
func (it *Result) ErrorWrapperInf() errinf.ErrWrapper
func (*Result) HasIssuesOrEmpty ¶ added in v0.7.6
func (*Result) HasSafeItems ¶ added in v0.7.6
func (*Result) IsEmptyError ¶ added in v0.7.6
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 ¶
type Result2 struct { Result Value2 interface{} }
func EmptyErrorNew2 ¶ added in v0.7.6
func EmptyErrorNew2( errorWrapper *errorwrapper.Wrapper, ) *Result2
func New2 ¶
func New2( result, result2 interface{}, wrapper *errorwrapper.Wrapper, ) *Result2
type Result3 ¶
type Result3 struct { Result2 Value3 interface{} }
func EmptyNew3UsingErrorWrapper ¶ added in v0.7.6
func EmptyNew3UsingErrorWrapper(errWp *errorwrapper.Wrapper) *Result3
func New3 ¶
func New3( result, result2, result3 interface{}, errorWrapper *errorwrapper.Wrapper, ) *Result3
type ResultWithApplicable ¶
func EmptyErrorApplicableResult ¶
func EmptyErrorApplicableResult( result interface{}, isApplicable bool, ) *ResultWithApplicable
func NewApplicable ¶
func NewApplicable( result interface{}, isApplicable bool, errWrapper *errorwrapper.Wrapper, ) *ResultWithApplicable
func NewApplicableError ¶ added in v0.7.6
func NewApplicableError( errWrapper *errorwrapper.Wrapper, ) *ResultWithApplicable
type ResultWithApplicable2 ¶
func EmptyErrorApplicableResult2 ¶
func EmptyErrorApplicableResult2( result, result2 interface{}, isApplicable bool, ) *ResultWithApplicable2
func ErrorApplicableResult2 ¶ added in v0.7.6
func ErrorApplicableResult2( errorWrapper *errorwrapper.Wrapper, ) *ResultWithApplicable2
func NewApplicable2 ¶
func NewApplicable2( result, result2 interface{}, isApplicable bool, errorWrapper *errorwrapper.Wrapper, ) *ResultWithApplicable2
type Results ¶
type Results struct { Values []interface{} ErrorWrapper *errorwrapper.Wrapper }
func EmptyErrorResults ¶
func EmptyErrorResults( values ...interface{}, ) *Results
func EmptyResults ¶ added in v0.7.6
func EmptyResults() *Results
func EmptyResultsWithError ¶ added in v0.7.6
func EmptyResultsWithError( errorWrapper *errorwrapper.Wrapper, ) *Results
func NewResults ¶
func NewResults( errWrapper *errorwrapper.Wrapper, values ...interface{}, ) *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) AsResultsWithErrorWrapper ¶ added in v0.8.7
func (it *Results) AsResultsWithErrorWrapper() 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 (it *Results) SafeValues() []interface{}
func (*Results) SafeValuesPtr ¶ added in v0.8.7
func (it *Results) SafeValuesPtr() *[]interface{}
type ResultsWithErrorCollection ¶ added in v0.3.8
type ResultsWithErrorCollection struct { Values []interface{} ErrorWrappers *errwrappers.Collection }
func EmptyResultsWithErrorCollection ¶ added in v0.3.8
func EmptyResultsWithErrorCollection() *ResultsWithErrorCollection
func NewResultsWithErrorCollection ¶ added in v0.3.8
func NewResultsWithErrorCollection( values []interface{}, 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) AsResultsContractsBinder ¶ added in v0.8.7
func (it *ResultsWithErrorCollection) AsResultsContractsBinder() errinf.ResultsContractsBinder
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() []interface{}
func (*ResultsWithErrorCollection) SafeValuesPtr ¶ added in v0.8.7
func (it *ResultsWithErrorCollection) SafeValuesPtr() *[]interface{}
func (*ResultsWithErrorCollection) String ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) String() string
Click to show internal directories.
Click to hide internal directories.