Documentation
¶
Index ¶
- type Result
- func EmptyErrorResult(result float32) Result
- func EmptyErrorResultPtr(result float32) *Result
- func New(result float32, variation errtype.Variation, errMsg string) Result
- func NewError(result float32, err error) Result
- func NewErrorWithType(result float32, variation errtype.Variation, err error) Result
- func NewPtr(result float32, variation errtype.Variation, errMsg string) *Result
- func NewSimple(result float32, variation errtype.Variation) Result
- type Result2
- type Result3
- type ResultWithApplicable
- func EmptyErrorApplicableResult(result float32, isApplicable bool) ResultWithApplicable
- func EmptyErrorApplicableResultPtr(result float32, isApplicable bool) *ResultWithApplicable
- func NewApplicable(result float32, isApplicable bool, variation errtype.Variation, errMsg string) ResultWithApplicable
- func NewApplicablePtr(result float32, isApplicable bool, variation errtype.Variation, errMsg string) *ResultWithApplicable
- type ResultWithApplicable2
- func EmptyErrorApplicableResult2(result, result2 float32, isApplicable bool) ResultWithApplicable2
- func EmptyErrorApplicableResult2Ptr(result, result2 float32, isApplicable bool) *ResultWithApplicable2
- func NewApplicable2(result, result2 float32, isApplicable bool, variation errtype.Variation, ...) ResultWithApplicable2
- func NewApplicable2Ptr(result, result2 float32, isApplicable bool, variation errtype.Variation, ...) *ResultWithApplicable2
- type Results
- func EmptyErrorResults(isApplicable bool, values ...float32) Results
- func EmptyErrorResultsPtr(isApplicable bool, values ...float32) *Results
- func EmptyErrorResultsPtrOrPtr(isApplicable bool, values *[]float32) *Results
- func NewResults(variation errtype.Variation, errMsg string, isApplicable bool, ...) Results
- func NewResultsPtr(variation errtype.Variation, errMsg string, isApplicable bool, ...) *Results
- func NewResultsPtrOfPtr(variation errtype.Variation, errMsg string, isApplicable bool, ...) *Results
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { Value float32 ErrorWrapper errorwrapper.Wrapper }
func EmptyErrorResult ¶
func EmptyErrorResultPtr ¶
func NewErrorWithType ¶
type Result2 ¶
type Result2 struct { Value float32 Value2 float32 ErrorWrapper errorwrapper.Wrapper }
type Result3 ¶
type Result3 struct { Value float32 Value2 float32 Value3 float32 ErrorWrapper errorwrapper.Wrapper }
type ResultWithApplicable ¶
type ResultWithApplicable struct { Value float32 IsApplicable bool ErrorWrapper errorwrapper.Wrapper }
func EmptyErrorApplicableResult ¶
func EmptyErrorApplicableResult( result float32, isApplicable bool, ) ResultWithApplicable
func EmptyErrorApplicableResultPtr ¶
func EmptyErrorApplicableResultPtr( result float32, isApplicable bool, ) *ResultWithApplicable
func NewApplicable ¶
func NewApplicablePtr ¶
type ResultWithApplicable2 ¶
type ResultWithApplicable2 struct { Value float32 Value2 float32 IsApplicable bool ErrorWrapper errorwrapper.Wrapper }
func EmptyErrorApplicableResult2 ¶
func EmptyErrorApplicableResult2( result, result2 float32, isApplicable bool, ) ResultWithApplicable2
func EmptyErrorApplicableResult2Ptr ¶
func EmptyErrorApplicableResult2Ptr( result, result2 float32, isApplicable bool, ) *ResultWithApplicable2
func NewApplicable2 ¶
func NewApplicable2Ptr ¶
type Results ¶
type Results struct { Values *[]float32 IsApplicable bool ErrorWrapper errorwrapper.Wrapper }
func EmptyErrorResults ¶
func EmptyErrorResultsPtr ¶
func NewResults ¶
func NewResultsPtr ¶
func NewResultsPtrOfPtr ¶
func (*Results) HasItemPlusApplicable ¶
func (*Results) IsEmptyResult ¶
Click to show internal directories.
Click to hide internal directories.