Documentation ¶
Index ¶
- type AcceptRejectOrSkipper
- type AllKeysSortedStringer
- type AllKeysStringer
- type AllSerializer
- type AllValuesIntegersGetter
- type AllValuesStringsGetter
- type AnyAttributesGetter
- type BasicMapper
- type BasicReflectioner
- type BasicSlicer
- type BasicSlicerContractsBinder
- type BooleanChecker
- type BooleanDisposer
- type BuildStringer
- type ByteIdentifier
- type ByteIsAnyOfChecker
- type ByteToStringer
- type CategoryNameGetter
- type CategoryNamer
- type CategoryRevealer
- type CategoryRevealerGetter
- type ChangeAccepter
- type ChangeRejecter
- type ChangesCommitter
- type ChangesLogger
- type Clearer
- type CombinedValidationChecker
- type CommonSliceDefiner
- type CoreDefiner
- type CountGetter
- type CountStateTracker
- type CountStateTrackerBinder
- type CsvLiner
- type Csver
- type Disposer
- type DyanmicLinqer
- type DynamicAdder
- type DynamicChangeStateDetector
- type DynamicDataHasChecker
- type DynamicDiffChangesGetter
- type DynamicLinq
- type DynamicLinqContractsBinder
- type DynamicLinqWithPaging
- type DynamicLinqWithPagingContractsBinder
- type DynamicPageItemsGetter
- type DynamicStructMethodInvoker
- type EmptyChecker
- type EnhanceYesNoAcceptRejecter
- type EntityTypeNameGetter
- type EntityTypeNamer
- type ErrorGetter
- type ErrorHandler
- type ErrorMessageHandler
- type ErrorRefMessageHandler
- type ErrorWithMessagesHandler
- type ExplicitValueStringGetter
- type FilterTextGetter
- type FromToNameGetter
- type FromToNameSetter
- type FromToer
- type FullStringWithTracer
- type FullStringer
- type GetStringser
- type HasAllKeysChecker
- type HasAnyIssueChecker
- type HasAnyItemChecker
- type HasAnyKeysChecker
- type HasChangesChecker
- type HasErrorChecker
- type HasFlagByNameChecker
- type HasIndexChecker
- type HasIssueChecker
- type HasIssuesOrEmptyChecker
- type HasItemAtChecker
- type HasKeyChecker
- type HasSafeItemsChecker
- type HashmapGetter
- type IdentifierGetter
- type Int16IsAnyOfChecker
- type IntRangeLengthGetter
- type IntRangesGetter
- type IntegerIdentifier
- type Inter
- type InvalidDirectErrorGetter
- type InvalidErrorGetter
- type InvalidMessageGetter
- type IsAnyByOrder
- type IsAnyNullChecker
- type IsApplyFuncBinder
- type IsByteValidRangeUsingArgsChecker
- type IsByteValueValidChecker
- type IsCompletedChecker
- type IsCompletedLockChecker
- type IsCompletedLockUnlockChecker
- type IsDefinedChecker
- type IsDisableAllChecker
- type IsDisableAnyByNamesChecker
- type IsDisableAnyChecker
- type IsDisabledChecker
- type IsDynamicContainsChecker
- type IsDynamicContainsInCollectionChecker
- type IsDynamicItemValidChecker
- type IsDynamicNullChecker
- type IsDynamicValidRangeUsingArgsChecker
- type IsDynamicValueValidChecker
- type IsEmptyChecker
- type IsEmptyErrorChecker
- type IsEmptyOrWhitespaceChecker
- type IsEnableAllChecker
- type IsEnableAnyByNamesChecker
- type IsEnableAnyChecker
- type IsEnableDisableConditionChecker
- type IsEnabledChecker
- type IsFailedChecker
- type IsFlagsDisabledByNamesChecker
- type IsFlagsEnabledByNamesChecker
- type IsInt16ValidRangeUsingArgsChecker
- type IsInt16ValueValidChecker
- type IsInt32ValidRangeUsingArgsChecker
- type IsInt32ValueValidChecker
- type IsInt64ValueValidChecker
- type IsInt8ValidRangeUsingArgsChecker
- type IsInt8ValueValidChecker
- type IsIntValidRangeUsingArgsChecker
- type IsInvalidChecker
- type IsInvalidValueByteChecker
- type IsInvalidValueInt16Checker
- type IsInvalidValueInt32Checker
- type IsInvalidValueInt8Checker
- type IsInvalidValueIntChecker
- type IsKeyMissingChecker
- type IsMissingKeyChecker
- type IsNilChecker
- type IsNullChecker
- type IsNullOrEmptyChecker
- type IsOutOfRangeByteChecker
- type IsPointerChecker
- type IsReflectKindChecker
- type IsReflectTypeOfChecker
- type IsReflectionTypeChecker
- type IsReviewChecker
- type IsStringContainsChecker
- type IsStringEqualChecker
- type IsStringValidRangeUsingArgsChecker
- type IsSuccessChecker
- type IsSuccessValidator
- type IsValidChecker
- type IsValidInvalidChecker
- type IsValueStringChecker
- type IsValueTypeOfChecker
- type IsWithinRangeByteChecker
- type IsWithinRangeInt16Checker
- type IsWithinRangeInt32Checker
- type IsWithinRangeInt8Checker
- type IsWithinRangeIntChecker
- type ItemAtRemover
- type JsonByter
- type JsonBytesStringerContractsBinder
- type JsonCombineStringer
- type JsonErrorBytesGetter
- type JsonStringer
- type KeyAnyValueDefiner
- type KeyAnyValueDefinerBinder
- type KeyAnyValuesCollectionDefiner
- type KeyAnyValuesCollectionDefinerBinder
- type KeyStringNameGetter
- type KeyStringValuesCollectionDefiner
- type KeyStringValuesCollectionDefinerBinder
- type KeyValueStringDefiner
- type KeyValueStringDefinerBinder
- type KeysHashsetGetter
- type LastIndexGetter
- type LengthGetter
- type ListStringsGetter
- type MapStringAnyGetter
- type MapStringAnyWithOrder
- type MapStringErrorFuncGetter
- type MapStringFuncGetter
- type MapStringStringGetter
- type MeaningFullErrorGetter
- type MessageGetter
- type MetaGetter
- type MustChangesLogger
- type MustJsonStringer
- type MustReflectToSetter
- type MustSerializer
- type NameGetter
- type NameValueStringer
- type NameValuer
- type RangeValidateChecker
- type RawMessageBytesGetter
- type RawPayloadsGetter
- type ReflectKindGetter
- type ReflectSetter
- type ReflectTypeGetter
- type ReflectValueGetter
- type RemindLaterChangeSkipper
- type SafeBytesGetter
- type SafeBytesPointerGetter
- type SafeStringRemover
- type SafeStringer
- type SafeStringsGetter
- type Serializer
- type SetEnabler
- type SetEnablerReturnsError
- type SetFlager
- type SimpleDynamicDataConverter
- type SimpleValidInvalidChecker
- type SimpleValidInvalidCheckerContractsBinder
- type SimpleValidatorIssueChecker
- type SliceByter
- type SlicePager
- type SpecificTypeWriter
- type StackTracesBytesGetter
- type StandardSlicer
- type StandardSlicerContractsBinder
- type StringCompiler
- type StringHasAllChecker
- type StringHasAnyChecker
- type StringHasChecker
- type StringHasCombineChecker
- type StringIdentifier
- type StringIsAnyOfChecker
- type StringRangeNamesCsvGetter
- type StringRangeNamesGetter
- type StringRangesGetter
- type StringRemover
- type StringUniqueMapper
- type Stringer
- type StringsGetter
- type StringsLinesGetter
- type TableNamer
- type ToNamer
- type ToNumberStringer
- type ToValueStringer
- type TypeNameGetter
- type TypeNameWithRangeNamesCsvGetter
- type TypeWriter
- type TypenameStringGetter
- type UintUserIdGetter
- type UserIdGetter
- type UsernameGetter
- type ValidationCheckerWithStringer
- type ValidationErrorGetter
- type ValidationMessageGetter
- type ValueAnyGetter
- type ValueAnyItemGetter
- type ValueByteGetter
- type ValueErrorGetter
- type ValueFloat32Getter
- type ValueFloat64Getter
- type ValueGetter
- type ValueInt16Getter
- type ValueInt32Getter
- type ValueInt64Getter
- type ValueIntegerGetter
- type ValueReflectSetter
- type ValueStringGetter
- type ValueStringsGetter
- type VariableNameAnyGetter
- type VariableNameStringGetter
- type YesNoAcceptRejecter
- type YesNoAsker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptRejectOrSkipper ¶ added in v1.1.9
type AcceptRejectOrSkipper interface { internalinterface.AcceptRejectOrSkipper }
type AllKeysSortedStringer ¶ added in v0.9.5
type AllKeysSortedStringer interface {
AllKeysSorted() []string
}
type AllKeysStringer ¶ added in v0.9.5
type AllKeysStringer interface {
AllKeys() []string
}
type AllSerializer ¶ added in v1.3.3
type AllSerializer interface { Serializer MustSerializer }
type AllValuesIntegersGetter ¶ added in v1.3.7
type AllValuesIntegersGetter interface {
AllValuesIntegers() []int
}
type AllValuesStringsGetter ¶ added in v1.3.7
type AllValuesStringsGetter interface {
AllValuesStrings() []string
}
type AnyAttributesGetter ¶ added in v1.1.9
type AnyAttributesGetter interface { internalinterface.AnyAttributesGetter }
type BasicMapper ¶ added in v0.4.4
type BasicMapper interface { BasicSlicer }
type BasicReflectioner ¶ added in v1.1.9
type BasicReflectioner interface { IsPointerChecker IsReflectTypeOfChecker IsReflectKindChecker ReflectValueGetter ReflectTypeGetter }
type BasicSlicer ¶
type BasicSlicer interface { LengthGetter CountGetter EmptyChecker LastIndexGetter HasIndexChecker HasAnyItemChecker Stringer }
type BasicSlicerContractsBinder ¶
type BasicSlicerContractsBinder interface { BasicSlicer AsBasicSliceContractsBinder() BasicSlicerContractsBinder }
type BooleanChecker ¶
type BooleanDisposer ¶ added in v0.9.4
type BooleanDisposer interface {
Dispose() (isSuccess bool)
}
type BuildStringer ¶ added in v1.1.9
type BuildStringer interface {
Build() string
}
type ByteIdentifier ¶ added in v1.0.8
type ByteIdentifier interface {
IdByte() byte
}
type ByteIsAnyOfChecker ¶ added in v0.4.6
type ByteToStringer ¶
type CategoryNameGetter ¶ added in v1.1.9
type CategoryNameGetter interface {
CategoryName() string
}
type CategoryNamer ¶ added in v1.1.9
type CategoryNamer interface {
CategoryName() string
}
type CategoryRevealer ¶ added in v1.3.3
type CategoryRevealer interface { CategoryNamer FilterTextGetter EntityTypeNamer }
type CategoryRevealerGetter ¶ added in v1.3.3
type CategoryRevealerGetter interface {
CategoryRevealer() CategoryRevealer
}
type ChangeAccepter ¶ added in v1.1.9
type ChangeAccepter interface { AcceptChanges() error AcceptChangesMust() }
type ChangeRejecter ¶ added in v1.1.9
type ChangeRejecter interface { RejectChanges() error RejectChangesMust() }
type ChangesCommitter ¶ added in v1.1.9
type ChangesCommitter interface { HasChangesChecker ChangeAccepter ChangeRejecter RemindLaterChangeSkipper Commit(option AcceptRejectOrSkipper) error CommitMust(option AcceptRejectOrSkipper) }
type ChangesLogger ¶ added in v1.1.9
type ChangesLogger interface { internalinterface.ChangesLogger }
type CombinedValidationChecker ¶ added in v1.1.9
type CombinedValidationChecker interface { HasErrorChecker HasAnyItemChecker HasAnyIssueChecker ValidationErrorGetter ErrorGetter }
type CommonSliceDefiner ¶ added in v1.1.9
type CommonSliceDefiner interface { internalinterface.CommonSliceDefiner }
type CoreDefiner ¶ added in v1.3.3
type CoreDefiner interface { corejson.Jsoner AllSerializer fmt.Stringer }
type CountGetter ¶
type CountGetter interface {
Count() int
}
type CountStateTracker ¶ added in v1.1.9
type CountStateTracker interface { internalinterface.CountStateTracker }
type CountStateTrackerBinder ¶ added in v1.1.9
type CountStateTrackerBinder interface { CountStateTracker AsCountStateTrackerBinder() CountStateTrackerBinder }
type DyanmicLinqer ¶ added in v1.3.3
type DyanmicLinqer interface { internalinterface.DyanmicLinqer }
type DynamicAdder ¶
type DynamicChangeStateDetector ¶ added in v1.1.9
type DynamicChangeStateDetector interface { internalinterface.DynamicChangeStateDetector }
type DynamicDataHasChecker ¶
type DynamicDiffChangesGetter ¶ added in v1.1.9
type DynamicDiffChangesGetter interface { internalinterface.DynamicDiffChangesGetter }
type DynamicLinq ¶
type DynamicLinq interface { CountGetter LengthGetter FirstDynamic() interface{} LastDynamic() interface{} FirstOrDefaultDynamic() interface{} LastOrDefaultDynamic() interface{} SkipDynamic(skippingItemsCount int) interface{} TakeDynamic(takeDynamicItems int) interface{} // LimitDynamic alias for TakeDynamic LimitDynamic(limit int) interface{} }
type DynamicLinqContractsBinder ¶
type DynamicLinqContractsBinder interface { DynamicLinq AsDynamicLinqContractsBinder() DynamicLinqContractsBinder }
type DynamicLinqWithPaging ¶
type DynamicLinqWithPaging interface { DynamicLinq SlicePager DynamicPageItemsGetter }
type DynamicLinqWithPagingContractsBinder ¶
type DynamicLinqWithPagingContractsBinder interface { DynamicLinqWithPaging AsDynamicLinqWithPagingContractsBinder() DynamicLinqWithPagingContractsBinder }
type DynamicPageItemsGetter ¶
type DynamicPageItemsGetter interface { // GetDynamicPagedItems returns items for the paged collection. GetDynamicPagedItems(perPageItems int, pageIndex int) interface{} }
DynamicPageItemsGetter Paging items related methods
type DynamicStructMethodInvoker ¶
type DynamicStructMethodInvoker interface {
DynamicMethodInvoke(structInput interface{}, args ...interface{}) *coredynamic.SimpleResult
}
type EmptyChecker ¶
type EmptyChecker interface { IsEmpty() bool HasAnyItemChecker }
type EnhanceYesNoAcceptRejecter ¶ added in v1.3.35
type EnhanceYesNoAcceptRejecter interface { YesNoAcceptRejecter IsAcceptOrReject() bool IsNotAcceptOrReject() bool IsDefinedAccepted() bool }
type EntityTypeNameGetter ¶ added in v1.1.9
type EntityTypeNameGetter interface {
EntityTypeName() string
}
type EntityTypeNamer ¶ added in v1.1.9
type EntityTypeNamer interface {
EntityTypeName() string
}
type ErrorGetter ¶
type ErrorGetter interface {
Error() error
}
type ErrorHandler ¶
type ErrorHandler interface { // HandleError // // Only call panic // if it has any error HandleError() }
type ErrorMessageHandler ¶ added in v0.9.8
type ErrorRefMessageHandler ¶ added in v0.9.8
type ErrorRefMessageHandler interface { HandleErrorWithRefs( newMessage string, refVar, refVal interface{}, ) }
type ErrorWithMessagesHandler ¶
type ErrorWithMessagesHandler interface {
HandleErrorWith(messages ...string)
}
type ExplicitValueStringGetter ¶ added in v1.3.3
type ExplicitValueStringGetter interface {
ValueString() string
}
type FilterTextGetter ¶ added in v1.3.3
type FilterTextGetter interface {
FilterText() string
}
type FromToNameGetter ¶ added in v1.3.13
type FromToNameSetter ¶ added in v1.3.13
type FromToer ¶ added in v1.3.13
type FromToer interface { IsNull() bool IsFromEmpty() bool IsToEmpty() bool FromToNameSetter FromToNameGetter }
type FullStringWithTracer ¶ added in v0.9.8
type FullStringWithTracer interface {
FullStringWithTraces() string
}
type FullStringer ¶ added in v0.9.8
type FullStringer interface {
FullString() string
}
type GetStringser ¶ added in v0.9.8
type GetStringser interface {
GetStrings() []string
}
type HasAllKeysChecker ¶ added in v1.3.7
type HasAnyIssueChecker ¶ added in v0.9.5
type HasAnyIssueChecker interface {
HasAnyIssues() bool
}
type HasAnyItemChecker ¶
type HasAnyItemChecker interface {
HasAnyItem() bool
}
type HasAnyKeysChecker ¶ added in v1.3.7
type HasChangesChecker ¶ added in v1.1.9
type HasChangesChecker interface { internalinterface.HasChangesChecker }
type HasErrorChecker ¶ added in v0.9.8
type HasErrorChecker interface {
HasError() bool
}
type HasFlagByNameChecker ¶ added in v1.3.3
type HasIndexChecker ¶
type HasIssueChecker ¶
type HasIssueChecker interface { HasAnyItemChecker HasIssues() bool IsEmptyOrIssues() bool // HasValidItems Has items and there is no issues HasValidItems() bool }
type HasIssuesOrEmptyChecker ¶ added in v0.7.7
type HasIssuesOrEmptyChecker interface {
HasIssuesOrEmpty() bool
}
type HasItemAtChecker ¶
type HasKeyChecker ¶ added in v1.3.3
type HasSafeItemsChecker ¶ added in v0.9.8
type HasSafeItemsChecker interface { // HasSafeItems // // returns true if has valid item or items and no error HasSafeItems() bool }
type HashmapGetter ¶ added in v1.3.3
type IdentifierGetter ¶ added in v1.0.8
type IdentifierGetter interface {
Identifier() string
}
type Int16IsAnyOfChecker ¶ added in v0.4.6
type IntRangeLengthGetter ¶
type IntRangeLengthGetter interface {
RangeLength() int
}
type IntRangesGetter ¶
type IntegerIdentifier ¶ added in v1.0.8
type IntegerIdentifier interface { internalinterface.IntegerIdGetter }
type InvalidDirectErrorGetter ¶
type InvalidDirectErrorGetter interface {
GetInvalidDirectError() error
}
type InvalidErrorGetter ¶
type InvalidErrorGetter interface { // InvalidError get invalid message error InvalidError() error }
type InvalidMessageGetter ¶
type InvalidMessageGetter interface { // InvalidMessage get invalid message InvalidMessage() string }
type IsAnyByOrder ¶
type IsAnyNullChecker ¶ added in v0.9.8
type IsAnyNullChecker interface { // IsAnyNull // // Returns true if self is null or values is null // Values have to be null to have true return. // False: Any empty slice will return false. IsAnyNull() bool }
IsAnyNullChecker
Returns true if self is null or values is null Values have to be null to have true return. False: Any empty slice will return false.
type IsApplyFuncBinder ¶ added in v1.1.0
type IsApplyFuncBinder interface {
IsApply() (isSuccess bool)
}
type IsByteValueValidChecker ¶
type IsCompletedChecker ¶ added in v1.3.3
type IsCompletedChecker interface {
IsCompleted() bool
}
type IsCompletedLockChecker ¶ added in v1.3.3
type IsCompletedLockChecker interface {
IsCompletedLock() bool
}
type IsCompletedLockUnlockChecker ¶ added in v1.3.3
type IsCompletedLockUnlockChecker interface { IsCompletedChecker IsCompletedLockChecker }
type IsDefinedChecker ¶ added in v1.3.10
type IsDefinedChecker interface {
IsDefined() bool
}
type IsDisableAllChecker ¶ added in v1.3.3
type IsDisableAllChecker interface {
IsDisableAll() bool
}
type IsDisableAnyByNamesChecker ¶ added in v1.3.3
type IsDisableAnyChecker ¶ added in v1.3.3
type IsDisableAnyChecker interface {
IsDisableAny() bool
}
type IsDisabledChecker ¶ added in v1.3.9
type IsDisabledChecker interface {
IsDisabled() bool
}
type IsDynamicContainsChecker ¶
type IsDynamicContainsChecker interface {
IsDynamicContains(item interface{}) bool
}
type IsDynamicContainsInCollectionChecker ¶
type IsDynamicContainsInCollectionChecker interface {
IsDynamicContainsInCollection(collection, item interface{}) bool
}
type IsDynamicNullChecker ¶
type IsDynamicNullChecker interface { // IsDynamicNull may check using reflection that data is nil. IsDynamicNull(dynamic interface{}) bool }
type IsDynamicValidRangeUsingArgsChecker ¶
type IsDynamicValidRangeUsingArgsChecker interface {
IsDynamicValidRange(val, max, min interface{}) bool
}
type IsDynamicValueValidChecker ¶
type IsDynamicValueValidChecker interface {
IsDynamicValueValid(value interface{}) bool
}
type IsEmptyChecker ¶
type IsEmptyChecker interface { internalinterface.IsEmptyChecker }
type IsEmptyErrorChecker ¶ added in v0.9.8
type IsEmptyErrorChecker interface {
IsEmptyError() bool
}
type IsEmptyOrWhitespaceChecker ¶
type IsEmptyOrWhitespaceChecker interface {
IsEmptyOrWhitespace() bool
}
type IsEnableAllChecker ¶ added in v1.3.3
type IsEnableAllChecker interface {
IsEnableAll() bool
}
type IsEnableAnyByNamesChecker ¶ added in v1.3.3
type IsEnableAnyChecker ¶ added in v1.3.3
type IsEnableAnyChecker interface {
IsEnableAny() bool
}
type IsEnableDisableConditionChecker ¶ added in v1.3.9
type IsEnableDisableConditionChecker interface { IsEnableAllChecker IsEnableAnyChecker IsEnableAnyByNamesChecker IsDisableAllChecker IsDisableAnyChecker IsDisableAnyByNamesChecker }
type IsEnabledChecker ¶ added in v1.3.9
type IsEnabledChecker interface {
IsEnabled() bool
}
type IsFailedChecker ¶ added in v0.9.8
type IsFailedChecker interface { // IsFailed has error or any other issues, or alias for HasIssues or HasError IsFailed() bool }
type IsFlagsDisabledByNamesChecker ¶ added in v1.3.3
type IsFlagsEnabledByNamesChecker ¶ added in v1.3.3
type IsInt8ValueValidChecker ¶
type IsInvalidChecker ¶
type IsInvalidChecker interface {
IsInvalid() bool
}
type IsKeyMissingChecker ¶ added in v1.3.3
type IsMissingKeyChecker ¶ added in v1.3.7
type IsNilChecker ¶ added in v1.1.0
type IsNilChecker interface {
IsNil() bool
}
type IsNullChecker ¶
type IsNullChecker interface {
IsNull() bool
}
type IsNullOrEmptyChecker ¶
type IsNullOrEmptyChecker interface {
IsNullOrEmpty() bool
}
type IsOutOfRangeByteChecker ¶
type IsOutOfRangeByteChecker interface {
IsOutOfRange(n byte)
}
type IsPointerChecker ¶
type IsPointerChecker interface {
IsPointer() bool
}
type IsReflectKindChecker ¶
type IsReflectTypeOfChecker ¶
type IsReflectionTypeChecker ¶
type IsReviewChecker ¶ added in v1.3.35
type IsReviewChecker interface {
IsReview() bool
}
type IsStringContainsChecker ¶
type IsStringEqualChecker ¶
type IsSuccessChecker ¶ added in v0.9.8
type IsSuccessChecker interface { // IsSuccess No error IsSuccess() bool }
type IsSuccessValidator ¶ added in v0.9.8
type IsSuccessValidator interface { IsValidChecker IsSuccessChecker IsFailedChecker }
type IsValidChecker ¶
type IsValidChecker interface { // IsValid similar or alias for IsSuccessChecker IsValid() bool }
type IsValidInvalidChecker ¶ added in v1.1.9
type IsValidInvalidChecker interface { IsValidChecker IsInvalidChecker }
type IsValueStringChecker ¶ added in v1.3.7
type IsValueStringChecker interface {
IsValueString() bool
}
type IsValueTypeOfChecker ¶ added in v1.3.7
type IsWithinRangeIntChecker ¶
type ItemAtRemover ¶
type JsonBytesStringerContractsBinder ¶
type JsonBytesStringerContractsBinder interface { JsonByter JsonCombineStringer AsJsonBytesStringerContractsBinder() JsonBytesStringerContractsBinder }
type JsonCombineStringer ¶
type JsonCombineStringer interface { JsonStringer // MustJsonStringer panic if any error MustJsonStringer }
type JsonErrorBytesGetter ¶ added in v1.3.3
type JsonErrorBytesGetter interface {
JsonErrorBytes() []byte
}
type JsonStringer ¶ added in v0.8.3
type JsonStringer interface {
JsonString() string
}
type KeyAnyValueDefiner ¶ added in v1.3.3
type KeyAnyValueDefiner interface { KeyStringNameGetter VariableNameStringGetter ValueAnyGetter ExplicitValueStringGetter IsVariableNameEqual(name string) bool IsAnyValueEqual(right interface{}) bool IsEqualKeyAnyValueDefiner(right KeyAnyValueDefiner) bool CoreDefiner StringCompiler }
type KeyAnyValueDefinerBinder ¶ added in v1.3.7
type KeyAnyValueDefinerBinder interface { KeyAnyValueDefiner AsKeyAnyValueDefinerBinder() KeyAnyValueDefinerBinder }
type KeyAnyValuesCollectionDefiner ¶ added in v1.3.3
type KeyAnyValuesCollectionDefiner interface { KeyValueStringDefiners() []KeyAnyValueDefiner AllKeysStringer AllKeysSortedStringer HashmapGetter KeysHashsetGetter StringsGetter MapStringAnyGetter HasKeyChecker ValueOfKey(key string) (valInf interface{}) ValueOfKeys(keys ...string) (valuesAnyItems []interface{}) IsEqualKeyAnyValuesCollectionDefiner( right KeyAnyValuesCollectionDefiner, ) bool CoreDefiner StringCompiler }
type KeyAnyValuesCollectionDefinerBinder ¶ added in v1.3.7
type KeyAnyValuesCollectionDefinerBinder interface { KeyAnyValuesCollectionDefiner AsKeyAnyValuesCollectionDefinerBinder() KeyAnyValuesCollectionDefinerBinder }
type KeyStringNameGetter ¶ added in v1.3.7
type KeyStringNameGetter interface {
KeyName() string
}
type KeyStringValuesCollectionDefiner ¶ added in v1.3.3
type KeyStringValuesCollectionDefiner interface { KeyValueStringDefiners() []KeyValueStringDefiner AllKeysStringer AllKeysSortedStringer HashmapGetter KeysHashsetGetter StringsGetter HasKeyChecker ValueOfKey(key string) (val string) ValueOfKeys(keys ...string) (values []string) IsEqualKeyStringValuesCollectionDefiner( right KeyStringValuesCollectionDefiner, ) bool CoreDefiner StringCompiler }
type KeyStringValuesCollectionDefinerBinder ¶ added in v1.3.7
type KeyStringValuesCollectionDefinerBinder interface { KeyStringValuesCollectionDefiner AsKeyStringValuesCollectionDefinerBinder() KeyStringValuesCollectionDefinerBinder }
type KeyValueStringDefiner ¶ added in v1.3.3
type KeyValueStringDefiner interface { KeyStringNameGetter VariableNameStringGetter ExplicitValueStringGetter IsVariableNameEqual(name string) bool IsValueEqual(valueString string) bool IsEqualKeyValueStringDefiner(right KeyValueStringDefiner) bool CoreDefiner StringCompiler }
type KeyValueStringDefinerBinder ¶ added in v1.3.7
type KeyValueStringDefinerBinder interface { KeyValueStringDefiner AsKeyValueStringDefinerBinder() KeyValueStringDefinerBinder }
type KeysHashsetGetter ¶ added in v1.3.3
type LastIndexGetter ¶
type LastIndexGetter interface {
LastIndex() int
}
type LengthGetter ¶
type LengthGetter interface {
Length() int
}
type ListStringsGetter ¶
type ListStringsGetter interface {
ListStrings() []string
}
type MapStringAnyGetter ¶ added in v1.3.3
type MapStringAnyGetter interface {
MapStringAny() map[string]interface{}
}
type MapStringAnyWithOrder ¶ added in v1.3.3
type MapStringAnyWithOrder interface { MapStringAnyGetter ValueTypeName() string AllKeysSorted() (sortedKeys []string) AllKeys() (keysUnsorted []string) }
type MapStringErrorFuncGetter ¶ added in v1.3.13
type MapStringFuncGetter ¶ added in v1.3.13
type MapStringFuncGetter interface {
MapStringString() map[string]func()
}
type MapStringStringGetter ¶ added in v1.3.13
type MeaningFullErrorGetter ¶ added in v0.9.5
type MeaningFullErrorGetter interface {
MeaningFullError() error
}
type MessageGetter ¶ added in v1.1.9
type MessageGetter interface {
Message() string
}
type MetaGetter ¶ added in v1.1.8
type MetaGetter interface {
Meta() string
}
type MustChangesLogger ¶ added in v1.1.9
type MustChangesLogger interface { internalinterface.MustChangesLogger }
type MustJsonStringer ¶ added in v0.8.3
type MustJsonStringer interface {
JsonStringMust() string
}
type MustReflectToSetter ¶ added in v1.3.12
type MustReflectToSetter interface {
ReflectSetToMust(toPointer interface{})
}
type MustSerializer ¶ added in v1.1.8
type MustSerializer interface {
SerializeMust() (jsonBytes []byte)
}
type NameGetter ¶ added in v1.1.8
type NameGetter interface {
Name() string
}
type NameValueStringer ¶ added in v0.9.8
type NameValueStringer interface {
NameValue() string
}
type NameValuer ¶ added in v0.9.5
type NameValuer interface { // NameValue // // should be a combined string output using name[value] // // Sample : // - "`EnumName[EnumValInteger]" -> `EnumName[2]` NameValue() string }
NameValuer
should be a combined string output using name[value]
Sample :
- "`EnumName[EnumValInteger]" -> `EnumName[2]`
type RangeValidateChecker ¶
type RangeValidateChecker interface { // RangesInvalidMessage get invalid message RangesInvalidMessage() string // RangesInvalidErr get invalid message error RangesInvalidErr() error // IsValidRange Is with in the range as expected. IsValidRange() bool // IsInvalidRange Is out of the ranges expected. IsInvalidRange() bool }
type RawMessageBytesGetter ¶ added in v1.1.9
type RawMessageBytesGetter interface {
RawMessageBytes() []byte
}
type RawPayloadsGetter ¶ added in v1.1.8
type RawPayloadsGetter interface { internalinterface.RawPayloadsGetter }
type ReflectKindGetter ¶
type ReflectSetter ¶ added in v1.1.0
type ReflectSetter interface { // ReflectSetTo // // ReflectSetter // sets current object to something else by casting, // reflection, by unmarshalling or by marshalling // // Set any object from to toPointer object // // Valid Inputs or Supported (https://t.ly/1Lpt): // - From, To: (null, null) -- do nothing // - From, To: (sameTypePointer, sameTypePointer) -- try reflection // - From, To: (sameTypeNonPointer, sameTypePointer) -- try reflection // - From, To: ([]byte or *[]byte, otherType) -- try unmarshal, reflect // - From, To: (otherType, *[]byte) -- try marshal, reflect // // Validations: // - Check null, if both null no error return quickly. // - NotSupported returns as error. // - NotSupported: (from, to) - (..., not pointer) // - NotSupported: (from, to) - (null, notNull) // - NotSupported: (from, to) - (notNull, null) // - NotSupported: (from, to) - not same type and not bytes on any // - `From` null or nil is not supported and will return error. // // Reference: // - Reflection String Set Example : https://go.dev/play/p/fySLYuOvoRK.go?download=true // - Method document screenshot : https://prnt.sc/26dmf5g ReflectSetTo(toPointer interface{}) error }
ReflectSetter
ReflectSetTo
sets current object to something else by casting, reflection, by unmarshalling or by marshalling
Set any object from to toPointer object ¶
Valid Inputs or Supported (https://t.ly/1Lpt):
- From, To: (null, null) -- do nothing
- From, To: (sameTypePointer, sameTypePointer) -- try reflection
- From, To: (sameTypeNonPointer, sameTypePointer) -- try reflection
- From, To: ([]byte or *[]byte, otherType) -- try unmarshal, reflect
- From, To: (otherType, *[]byte) -- try marshal, reflect
Validations:
- Check null, if both null no error return quickly.
- NotSupported returns as error.
- NotSupported: (from, to) - (..., not pointer)
- NotSupported: (from, to) - (null, notNull)
- NotSupported: (from, to) - (notNull, null)
- NotSupported: (from, to) - not same type and not bytes on any
- `From` null or nil is not supported and will return error.
Reference:
- Reflection String Set Example : https://go.dev/play/p/fySLYuOvoRK.go?download=true
- Method document screenshot : https://prnt.sc/26dmf5g
type ReflectTypeGetter ¶
type ReflectValueGetter ¶
type RemindLaterChangeSkipper ¶ added in v1.1.9
type RemindLaterChangeSkipper interface { SkipChangesRemindLater() error SkipChangesRemindLaterMust() }
type SafeBytesGetter ¶ added in v0.9.8
type SafeBytesGetter interface {
SafeBytes() []byte
}
type SafeBytesPointerGetter ¶ added in v0.9.8
type SafeBytesPointerGetter interface {
SafeBytesPtr() *[]byte
}
type SafeStringRemover ¶ added in v1.0.8
type SafeStringer ¶ added in v0.9.8
type SafeStringer interface {
SafeString() string
}
type SafeStringsGetter ¶ added in v0.9.8
type SafeStringsGetter interface {
SafeStrings() []string
}
type Serializer ¶ added in v1.0.8
type SetEnabler ¶ added in v1.3.3
type SetEnabler interface {
SetEnable()
}
type SetEnablerReturnsError ¶ added in v1.3.3
type SetEnablerReturnsError interface {
SetEnable() error
}
type SimpleDynamicDataConverter ¶
type SimpleDynamicDataConverter interface { // GetConvertTo convert `type` from, to GetConvertTo(from interface{}) (to interface{}, err error) // Convert convert `type` from, to Convert(from, to interface{}) error // ConvertPointers convert `*type` from, to ConvertPointers(from, to interface{}) error }
type SimpleValidInvalidChecker ¶
type SimpleValidInvalidChecker interface { IsValidChecker IsInvalidChecker InvalidMessageGetter }
type SimpleValidInvalidCheckerContractsBinder ¶
type SimpleValidInvalidCheckerContractsBinder interface { SimpleValidInvalidChecker AsSimpleValidInvalidChecker() SimpleValidInvalidChecker }
type SimpleValidatorIssueChecker ¶
type SimpleValidatorIssueChecker interface { SimpleValidInvalidChecker HasAnyItemChecker InvalidDirectErrorGetter }
type SliceByter ¶ added in v0.9.4
type SliceByter interface {
Bytes() []byte
}
type SlicePager ¶
type SlicePager interface { GetPagesCount(perPageItems int) int // HasPageAt returns true if page count is less than the page count HasPageAt(perPageItems int, pageIndex int) bool }
SlicePager Paging count related methods
type SpecificTypeWriter ¶ added in v1.1.9
type StackTracesBytesGetter ¶ added in v1.3.3
type StackTracesBytesGetter interface {
StackTracesBytes() []byte
}
type StandardSlicer ¶
type StandardSlicer interface { BasicSlicer ListStringsGetter JsonCombineStringer corejson.JsonContractsBinder }
type StandardSlicerContractsBinder ¶
type StandardSlicerContractsBinder interface { StandardSlicer AsStandardSlicerContractsBinder() StandardSlicerContractsBinder }
type StringCompiler ¶ added in v1.1.9
type StringCompiler interface {
Compile() string
}
type StringHasAllChecker ¶
type StringHasAnyChecker ¶
type StringHasChecker ¶
type StringHasCombineChecker ¶
type StringHasCombineChecker interface { StringHasChecker StringHasAllChecker StringHasAnyChecker HasAnyItemChecker }
type StringIdentifier ¶ added in v0.4.7
type StringIdentifier interface {
IdString() string
}
type StringIsAnyOfChecker ¶ added in v0.4.6
type StringRangeNamesCsvGetter ¶
type StringRangeNamesCsvGetter interface {
RangeNamesCsv() string
}
type StringRangeNamesGetter ¶
type StringRangeNamesGetter interface {
StringRangeNames() []string
}
type StringRangesGetter ¶
type StringRemover ¶ added in v1.0.8
type StringUniqueMapper ¶
type StringsGetter ¶ added in v0.9.8
type StringsGetter interface {
Strings() []string
}
type StringsLinesGetter ¶ added in v0.9.8
type StringsLinesGetter interface {
Lines() []string
}
type TableNamer ¶ added in v1.1.9
type TableNamer interface {
TableName() string
}
type ToNumberStringer ¶ added in v0.4.6
type ToNumberStringer interface { // ToNumberString // // It returns string number value. // // Examples: // - ToNumberString() -> "1" if the value is 1 // - ToNumberString() -> "10" if the value is 10 ToNumberString() string }
ToNumberStringer
It returns string number value.
Examples:
- ToNumberString() -> "1" if the value is 1
- ToNumberString() -> "10" if the value is 10
type ToValueStringer ¶
type ToValueStringer interface {
Value() string
}
type TypeNameGetter ¶ added in v1.1.8
type TypeNameGetter interface {
TypeName() string
}
type TypeNameWithRangeNamesCsvGetter ¶ added in v0.8.0
type TypeNameWithRangeNamesCsvGetter interface { StringRangeNamesCsvGetter TypeNameGetter }
type TypeWriter ¶ added in v1.1.9
type TypeWriter interface { TypeWrite(typeNameGetter TypeNameGetter, content string) error TypeWriteMust(typeNameGetter TypeNameGetter, content string) }
type TypenameStringGetter ¶ added in v1.1.2
type TypenameStringGetter interface {
TypenameString() string
}
type UintUserIdGetter ¶ added in v1.0.8
type UintUserIdGetter interface {
UserId() uint
}
type UserIdGetter ¶ added in v1.0.8
type UserIdGetter interface {
UserId() int
}
type UsernameGetter ¶ added in v1.0.8
type UsernameGetter interface {
Username() string
}
type ValidationCheckerWithStringer ¶ added in v1.1.9
type ValidationCheckerWithStringer interface { Stringer IsInvalidChecker IsValidChecker }
type ValidationErrorGetter ¶ added in v1.1.8
type ValidationErrorGetter interface { // ValidationError // // Returns validation related error // only ValidationError() error }
ValidationErrorGetter
Returns validation related error only
type ValidationMessageGetter ¶ added in v1.1.8
type ValidationMessageGetter interface {
ValidationMessage() string
}
type ValueAnyGetter ¶ added in v1.3.3
type ValueAnyGetter interface {
ValueAny() interface{}
}
type ValueAnyItemGetter ¶ added in v0.9.8
type ValueAnyItemGetter interface {
Value() interface{}
}
type ValueByteGetter ¶ added in v0.9.8
type ValueByteGetter interface {
Value() byte
}
type ValueErrorGetter ¶ added in v0.9.8
type ValueErrorGetter interface {
Value() error
}
type ValueFloat32Getter ¶ added in v0.9.8
type ValueFloat32Getter interface {
Value() float32
}
type ValueFloat64Getter ¶ added in v0.9.8
type ValueFloat64Getter interface {
Value() float64
}
type ValueGetter ¶
type ValueGetter interface {
ValueDynamic() interface{}
}
type ValueInt16Getter ¶ added in v0.9.8
type ValueInt16Getter interface {
Value() int16
}
type ValueInt32Getter ¶ added in v0.9.8
type ValueInt32Getter interface {
Value() int32
}
type ValueInt64Getter ¶ added in v0.9.8
type ValueInt64Getter interface {
Value() int64
}
type ValueIntegerGetter ¶ added in v0.9.8
type ValueIntegerGetter interface {
Value() int
}
type ValueReflectSetter ¶ added in v1.0.8
type ValueReflectSetter interface {
ValueReflectSet(setterPtr interface{}) error
}
type ValueStringGetter ¶ added in v0.9.8
type ValueStringGetter interface {
Value() string
}
type ValueStringsGetter ¶ added in v0.9.8
type ValueStringsGetter interface {
Value() []string
}
type VariableNameAnyGetter ¶ added in v1.3.3
type VariableNameAnyGetter interface {
VariableNameAny() interface{}
}
type VariableNameStringGetter ¶ added in v1.3.3
type VariableNameStringGetter interface {
VariableName() string
}
type YesNoAcceptRejecter ¶ added in v1.1.9
type YesNoAcceptRejecter interface { internalinterface.YesNoAcceptRejecter }
type YesNoAsker ¶ added in v1.1.9
type YesNoAsker interface { internalinterface.YesNoAsker }
Source Files ¶
- BasicMapper.go
- BasicReflectioner.go
- BasicSliceContractsBinder.go
- BasicSlicer.go
- BooleanDisposer.go
- ByteIdentifier.go
- CategoryRevealer.go
- Clearer.go
- CombinedValidationChecker.go
- CommonSliceDefiner.go
- CoreDefiner.go
- CsvLiner.go
- Csver.go
- DefaultsInjector.go
- Disposer.go
- DynamicAdder.go
- DynamicLinq.go
- DynamicLinqWithPaging.go
- DynamicLinqWithPagingContractsBinder.go
- DynamicStructMethodInvoker.go
- ErrorHandler.go
- ErrorMessageHandler.go
- ErrorRefMessageHandler.go
- ErrorWithMessagesHandler.go
- GetStringser.go
- IntegerIdentifier.go
- Inter.go
- IsAnyByOrder.go
- IsApplyFuncBinder.go
- ItemAtRemover.go
- JsonByter.go
- MapStringAnyWithOrder.go
- MustDefaultsInjector.go
- MustReflectToSetter.go
- NameValuer.go
- ReflectSetter.go
- SafeStringRemover.go
- SimpleDynamicDataConverter.go
- SliceByter.go
- SlicePager.go
- SpecificTypeWriter.go
- StandardSlicer.go
- StringCompiler.go
- StringIdentifier.go
- StringJsoner.go
- StringRemover.go
- StringUniqueMapper.go
- Stringer.go
- TableNamer.go
- ToNamer.go
- TypeWriter.go
- ValueReflectSetter.go
- all-binders.go
- all-changes-related.go
- all-getters.go
- all-has-checkers.go
- all-instructions.go
- all-is-checkers.go
- all-keyval-definer.go
- all-namers.go
- all-serializer.go
- all-setters.go
- all-stringers.go
Click to show internal directories.
Click to hide internal directories.