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) IsSafeValidRange(min, max int) bool
- func (it *Result) IsSuccess() bool
- func (it *Result) IsValid() bool
- func (it *Result) IsValidRange(min, max int) 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
- type ResultWithApplicable2
- func EmptyErrorApplicableResult2(result, result2 int, isApplicable bool) *ResultWithApplicable2
- func ErrorApplicableResult2(errorWrapper *errorwrapper.Wrapper) *ResultWithApplicable2
- func NewApplicable2(result, result2 int, isApplicable bool, errorWrapper *errorwrapper.Wrapper) *ResultWithApplicable2
- 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() *[]int
- func (it *Results) ValueNonPtr() []int
- type ResultsWithErrorCollection
- func EmptyResultsWithErrorCollection() *ResultsWithErrorCollection
- func NewResultsWithErrorCollection(values []int, 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() *[]int
- func (it *ResultsWithErrorCollection) ValueNonPtr() []int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Value int ErrorWrapper *errorwrapper.Wrapper }
func EmptyErrorResult ¶
func ErrorWrapper ¶ added in v0.2.0
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) IsSafeValidRange ¶ added in v0.4.9
func (*Result) IsValidRange ¶ 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 ¶
func EmptyErrorApplicableResult ¶
func EmptyErrorApplicableResult( result int, isApplicable bool, ) *ResultWithApplicable
func NewApplicable ¶
func NewApplicable( result int, 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 int, isApplicable bool, ) *ResultWithApplicable2
func ErrorApplicableResult2 ¶ added in v0.7.6
func ErrorApplicableResult2( errorWrapper *errorwrapper.Wrapper, ) *ResultWithApplicable2
func NewApplicable2 ¶
func NewApplicable2( result, result2 int, isApplicable bool, errorWrapper *errorwrapper.Wrapper, ) *ResultWithApplicable2
type Results ¶
type Results struct { Values []int 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 ...int, ) *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 []int ErrorWrappers *errwrappers.Collection }
func EmptyResultsWithErrorCollection ¶ added in v0.3.8
func EmptyResultsWithErrorCollection() *ResultsWithErrorCollection
func NewResultsWithErrorCollection ¶ added in v0.3.8
func NewResultsWithErrorCollection( values []int, 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() *[]int
func (*ResultsWithErrorCollection) ValueNonPtr ¶ added in v0.7.6
func (it *ResultsWithErrorCollection) ValueNonPtr() []int
Click to show internal directories.
Click to hide internal directories.