Documentation
¶
Index ¶
- type AnyOnce
- type BoolOnce
- type ByteOnce
- func (receiver *ByteOnce) Int() int
- func (receiver *ByteOnce) IsByteCompareResult(valueCompare byte, compare corecomparator.Compare) bool
- func (receiver *ByteOnce) IsEmpty() bool
- func (receiver *ByteOnce) IsNegative() bool
- func (receiver *ByteOnce) IsPositive() bool
- func (receiver *ByteOnce) IsZero() bool
- func (receiver *ByteOnce) MarshalJSON() ([]byte, error)
- func (receiver *ByteOnce) String() string
- func (receiver *ByteOnce) UnmarshalJSON(data []byte) error
- func (receiver *ByteOnce) Value() byte
- type ErrorOnce
- func (receiver *ErrorOnce) ConcatNew(messages ...string) error
- func (receiver *ErrorOnce) ConcatNewString(messages ...string) string
- func (receiver *ErrorOnce) HandleError()
- func (receiver *ErrorOnce) HandleErrorWith(messages ...string)
- func (receiver *ErrorOnce) HasError() bool
- func (receiver *ErrorOnce) IsMessageEqual(msg string) bool
- func (receiver *ErrorOnce) IsNull() bool
- func (receiver *ErrorOnce) IsNullOrEmpty() bool
- func (receiver *ErrorOnce) MarshalJSON() ([]byte, error)
- func (receiver *ErrorOnce) Message() string
- func (receiver *ErrorOnce) String() string
- func (receiver *ErrorOnce) UnmarshalJSON(data []byte) error
- func (receiver *ErrorOnce) Value() error
- type IntegerOnce
- func (receiver *IntegerOnce) IsEmpty() bool
- func (receiver *IntegerOnce) IsIntCompareResult(valueCompare int, compare corecomparator.Compare) bool
- func (receiver *IntegerOnce) IsNegative() bool
- func (receiver *IntegerOnce) IsPositive() bool
- func (receiver *IntegerOnce) IsZero() bool
- func (receiver *IntegerOnce) MarshalJSON() ([]byte, error)
- func (receiver *IntegerOnce) String() string
- func (receiver *IntegerOnce) UnmarshalJSON(data []byte) error
- func (receiver *IntegerOnce) Value() int
- type StringOnce
- func (it *StringOnce) Bytes() []byte
- func (it *StringOnce) Error() error
- func (it *StringOnce) IsContains(equalString string) bool
- func (it *StringOnce) IsEmpty() bool
- func (it *StringOnce) IsEmptyOrWhitespace() bool
- func (it *StringOnce) IsEqual(equalString string) bool
- func (it *StringOnce) MarshalJSON() ([]byte, error)
- func (it *StringOnce) String() string
- func (it *StringOnce) UnmarshalJSON(data []byte) error
- func (it *StringOnce) Value() string
- func (it *StringOnce) ValuePtr() *string
- type StringsOnce
- func (it *StringsOnce) Csv() string
- func (it *StringsOnce) CsvLines() []string
- func (it *StringsOnce) CsvOptions(isSkipQuoteOnlyOnExistence bool) string
- func (it *StringsOnce) Has(search string) bool
- func (it *StringsOnce) HasAll(searchTerms ...string) bool
- func (it *StringsOnce) HasAnyItem() bool
- func (it *StringsOnce) IsContains(search string) bool
- func (it *StringsOnce) IsEmpty() bool
- func (it *StringsOnce) JsonStringMust() string
- func (it *StringsOnce) Length() int
- func (it *StringsOnce) List() []string
- func (it *StringsOnce) MarshalJSON() ([]byte, error)
- func (it *StringsOnce) SafeStrings() []string
- func (it *StringsOnce) String() string
- func (it *StringsOnce) Strings() *[]string
- func (it *StringsOnce) UniqueMap() *map[string]bool
- func (it *StringsOnce) UniqueMapLock() *map[string]bool
- func (it *StringsOnce) UnmarshalJSON(data []byte) error
- func (it *StringsOnce) Value() *[]string
- func (it *StringsOnce) Values() *[]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnyOnce ¶
type AnyOnce struct {
// contains filtered or unexported fields
}
func NewAnyOnce ¶
func NewAnyOnce(initializerFunc func() interface{}) AnyOnce
func NewAnyOncePtr ¶
func NewAnyOncePtr(initializerFunc func() interface{}) *AnyOnce
func (*AnyOnce) IsStringEmpty ¶
func (*AnyOnce) IsStringEmptyOrWhitespace ¶
type BoolOnce ¶
type BoolOnce struct {
// contains filtered or unexported fields
}
func NewBoolOnce ¶
func NewBoolOncePtr ¶
func (*BoolOnce) MarshalJSON ¶
func (*BoolOnce) UnmarshalJSON ¶
type ByteOnce ¶
type ByteOnce struct {
// contains filtered or unexported fields
}
func NewByteOnce ¶
func NewByteOncePtr ¶
func (*ByteOnce) IsByteCompareResult ¶
func (receiver *ByteOnce) IsByteCompareResult( valueCompare byte, compare corecomparator.Compare, ) bool
func (*ByteOnce) IsNegative ¶
func (*ByteOnce) IsPositive ¶
func (*ByteOnce) MarshalJSON ¶
func (*ByteOnce) UnmarshalJSON ¶
type ErrorOnce ¶
type ErrorOnce struct {
// contains filtered or unexported fields
}
func NewErrorOnce ¶
func NewErrorOncePtr ¶
func (*ErrorOnce) ConcatNewString ¶
func (*ErrorOnce) HandleError ¶
func (receiver *ErrorOnce) HandleError()
HandleError with panic if error exist or else skip
Skip if no error type (NoError).
func (*ErrorOnce) HandleErrorWith ¶
HandleErrorWith by concatenating message and then panic if error exist or else skip
Skip if no error type (NoError).
func (*ErrorOnce) IsMessageEqual ¶
func (*ErrorOnce) IsNullOrEmpty ¶
func (*ErrorOnce) MarshalJSON ¶
func (*ErrorOnce) UnmarshalJSON ¶
type IntegerOnce ¶
type IntegerOnce struct {
// contains filtered or unexported fields
}
func NewIntegerOnce ¶
func NewIntegerOnce(initializerFunc func() int) IntegerOnce
func NewIntegerOncePtr ¶
func NewIntegerOncePtr(initializerFunc func() int) *IntegerOnce
func (*IntegerOnce) IsEmpty ¶
func (receiver *IntegerOnce) IsEmpty() bool
IsEmpty returns true if zero
func (*IntegerOnce) IsIntCompareResult ¶
func (receiver *IntegerOnce) IsIntCompareResult(valueCompare int, compare corecomparator.Compare) bool
func (*IntegerOnce) IsNegative ¶
func (receiver *IntegerOnce) IsNegative() bool
func (*IntegerOnce) IsPositive ¶
func (receiver *IntegerOnce) IsPositive() bool
func (*IntegerOnce) IsZero ¶
func (receiver *IntegerOnce) IsZero() bool
func (*IntegerOnce) MarshalJSON ¶
func (receiver *IntegerOnce) MarshalJSON() ([]byte, error)
func (*IntegerOnce) String ¶
func (receiver *IntegerOnce) String() string
func (*IntegerOnce) UnmarshalJSON ¶
func (receiver *IntegerOnce) UnmarshalJSON(data []byte) error
func (*IntegerOnce) Value ¶
func (receiver *IntegerOnce) Value() int
type StringOnce ¶
type StringOnce struct {
// contains filtered or unexported fields
}
func NewStringOnce ¶
func NewStringOnce(initializerFunc func() string) StringOnce
func NewStringOncePtr ¶
func NewStringOncePtr(initializerFunc func() string) *StringOnce
func (*StringOnce) Bytes ¶
func (it *StringOnce) Bytes() []byte
func (*StringOnce) Error ¶
func (it *StringOnce) Error() error
func (*StringOnce) IsContains ¶
func (it *StringOnce) IsContains(equalString string) bool
func (*StringOnce) IsEmpty ¶
func (it *StringOnce) IsEmpty() bool
func (*StringOnce) IsEmptyOrWhitespace ¶
func (it *StringOnce) IsEmptyOrWhitespace() bool
func (*StringOnce) IsEqual ¶
func (it *StringOnce) IsEqual(equalString string) bool
func (*StringOnce) MarshalJSON ¶
func (it *StringOnce) MarshalJSON() ([]byte, error)
func (*StringOnce) String ¶
func (it *StringOnce) String() string
func (*StringOnce) UnmarshalJSON ¶
func (it *StringOnce) UnmarshalJSON(data []byte) error
func (*StringOnce) Value ¶
func (it *StringOnce) Value() string
func (*StringOnce) ValuePtr ¶
func (it *StringOnce) ValuePtr() *string
type StringsOnce ¶
func NewStringsOnce ¶
func NewStringsOnce(initializerFunc func() *[]string) StringsOnce
func NewStringsOncePtr ¶
func NewStringsOncePtr(initializerFunc func() *[]string) *StringsOnce
func (*StringsOnce) Csv ¶
func (it *StringsOnce) Csv() string
func (*StringsOnce) CsvLines ¶
func (it *StringsOnce) CsvLines() []string
func (*StringsOnce) CsvOptions ¶
func (it *StringsOnce) CsvOptions(isSkipQuoteOnlyOnExistence bool) string
func (*StringsOnce) Has ¶
func (it *StringsOnce) Has(search string) bool
func (*StringsOnce) HasAll ¶
func (it *StringsOnce) HasAll(searchTerms ...string) bool
func (*StringsOnce) HasAnyItem ¶
func (it *StringsOnce) HasAnyItem() bool
func (*StringsOnce) IsContains ¶
func (it *StringsOnce) IsContains(search string) bool
func (*StringsOnce) JsonStringMust ¶ added in v0.8.3
func (it *StringsOnce) JsonStringMust() string
func (*StringsOnce) Length ¶
func (it *StringsOnce) Length() int
func (*StringsOnce) List ¶ added in v1.0.8
func (it *StringsOnce) List() []string
func (*StringsOnce) MarshalJSON ¶
func (it *StringsOnce) MarshalJSON() ([]byte, error)
func (*StringsOnce) SafeStrings ¶ added in v1.0.8
func (it *StringsOnce) SafeStrings() []string
func (*StringsOnce) String ¶
func (it *StringsOnce) String() string
func (*StringsOnce) Strings ¶
func (it *StringsOnce) Strings() *[]string
func (*StringsOnce) UniqueMap ¶
func (it *StringsOnce) UniqueMap() *map[string]bool
func (*StringsOnce) UniqueMapLock ¶
func (it *StringsOnce) UniqueMapLock() *map[string]bool
func (*StringsOnce) UnmarshalJSON ¶
func (it *StringsOnce) UnmarshalJSON(data []byte) error
func (*StringsOnce) Value ¶
func (it *StringsOnce) Value() *[]string
func (*StringsOnce) Values ¶
func (it *StringsOnce) Values() *[]string
Click to show internal directories.
Click to hide internal directories.