errfloat

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	New = &newCreator{
		Result:                     &newResultCreator{},
		Results:                    &newResultsCreator{},
		ResultsWithErrorCollection: &newResultsWithErrorCollectionCreator{},
		Result2:                    &newResultTwoCreator{},
		ResultWithApplicable:       &newResultApplicableCreator{},
		ResultWithApplicable2:      &newResultApplicable2Creator{},
	}
	Empty = &emptyCreator{}
)

Functions

This section is empty.

Types

type Result

type Result struct {
	Value        float32
	ErrorWrapper *errorwrapper.Wrapper
}

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() errorwrapper.ValueWithErrorWrapperBinder

func (*Result) Byte added in v0.7.6

func (it *Result) Byte() byte

func (*Result) Dispose added in v0.8.7

func (it *Result) Dispose()

func (*Result) ErrorWrapperInf added in v0.8.7

func (it *Result) ErrorWrapperInf() errorwrapper.ErrWrapper

func (*Result) HasError added in v0.4.9

func (it *Result) HasError() bool

func (*Result) HasIssuesOrEmpty added in v0.7.6

func (it *Result) HasIssuesOrEmpty() bool

func (*Result) HasSafeItems added in v0.7.6

func (it *Result) HasSafeItems() bool

func (*Result) Int added in v0.7.6

func (it *Result) Int() int

func (*Result) IsEmpty added in v0.7.6

func (it *Result) IsEmpty() bool

func (*Result) IsEmptyError added in v0.4.9

func (it *Result) IsEmptyError() bool

func (*Result) IsFailed added in v0.7.6

func (it *Result) IsFailed() bool

func (*Result) IsInvalid added in v0.8.9

func (it *Result) IsInvalid() bool

func (*Result) IsSafeValidRange added in v0.7.6

func (it *Result) IsSafeValidRange(min, max float32) bool

func (*Result) IsSuccess added in v0.7.6

func (it *Result) IsSuccess() bool

func (*Result) IsValid added in v0.7.6

func (it *Result) IsValid() bool

func (*Result) IsValidRange added in v0.4.9

func (it *Result) IsValidRange(min, max float32) bool

func (Result) Json added in v0.7.6

func (it Result) Json() corejson.Result

func (*Result) JsonModelAny added in v0.7.6

func (it *Result) JsonModelAny() interface{}

func (*Result) JsonParseSelfInject added in v0.7.6

func (it *Result) JsonParseSelfInject(jsonResult *corejson.Result) error

func (Result) JsonPtr added in v0.7.9

func (it Result) JsonPtr() *corejson.Result

func (*Result) SafeString added in v0.8.7

func (it *Result) SafeString() string

func (Result) String added in v0.7.6

func (it Result) String() string

type Result2

type Result2 struct {
	Result
	Value2 float32
}

type ResultWithApplicable

type ResultWithApplicable struct {
	Result
	IsApplicable bool
}

type ResultWithApplicable2

type ResultWithApplicable2 struct {
	Result2
	IsApplicable bool
}

type Results

type Results struct {
	Values       []float32
	ErrorWrapper *errorwrapper.Wrapper
}

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() errorwrapper.ResultsContractsBinder

func (*Results) AsValueWithErrorWrapperBinder added in v0.8.7

func (it *Results) AsValueWithErrorWrapperBinder() errorwrapper.ValueWithErrorWrapperBinder

func (*Results) Clear added in v0.8.7

func (it *Results) Clear()

func (*Results) Dispose added in v0.8.7

func (it *Results) Dispose()

func (*Results) ErrorWrapperInf added in v0.8.7

func (it *Results) ErrorWrapperInf() errorwrapper.ErrWrapper

func (*Results) HasAnyItem added in v0.7.3

func (it *Results) HasAnyItem() bool

func (*Results) HasError added in v0.3.8

func (it *Results) HasError() bool

func (*Results) HasIssuesOrEmpty added in v0.3.8

func (it *Results) HasIssuesOrEmpty() bool

func (*Results) HasSafeItems added in v0.3.8

func (it *Results) HasSafeItems() bool

HasSafeItems No errors and has items

func (*Results) IsAnyNull added in v0.8.7

func (it *Results) IsAnyNull() bool

func (*Results) IsEmpty added in v0.7.3

func (it *Results) IsEmpty() bool

func (*Results) IsEmptyError added in v0.3.8

func (it *Results) IsEmptyError() bool

func (*Results) IsFailed added in v0.7.6

func (it *Results) IsFailed() bool

func (*Results) IsInvalid added in v0.8.9

func (it *Results) IsInvalid() bool

func (*Results) IsSuccess added in v0.7.6

func (it *Results) IsSuccess() bool

func (*Results) IsValid added in v0.7.6

func (it *Results) IsValid() bool

func (Results) Json added in v0.7.6

func (it Results) Json() corejson.Result

func (Results) JsonModelAny added in v0.7.6

func (it Results) JsonModelAny() interface{}

func (*Results) JsonParseSelfInject added in v0.7.6

func (it *Results) JsonParseSelfInject(jsonResult *corejson.Result) error

func (Results) JsonPtr added in v0.7.9

func (it Results) JsonPtr() *corejson.Result

func (*Results) Length added in v0.7.3

func (it *Results) Length() int

func (*Results) SafeString added in v0.8.7

func (it *Results) SafeString() string

func (*Results) SafeValues added in v0.8.7

func (it *Results) SafeValues() []float32

func (*Results) SafeValuesPtr added in v0.8.7

func (it *Results) SafeValuesPtr() *[]float32

func (Results) String added in v0.7.6

func (it Results) String() string

type ResultsWithErrorCollection added in v0.3.8

type ResultsWithErrorCollection struct {
	Values        []float32
	ErrorWrappers *errwrappers.Collection
}

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() errorwrapper.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() errorwrapper.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 (*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 (*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() []float32

func (*ResultsWithErrorCollection) SafeValuesPtr added in v0.8.7

func (it *ResultsWithErrorCollection) SafeValuesPtr() *[]float32

func (ResultsWithErrorCollection) String added in v0.7.6

func (it ResultsWithErrorCollection) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL