Versions in this module Expand all Collapse all v0 v0.0.15 Jan 26, 2024 v0.0.14 Sep 20, 2023 v0.0.13 Jul 3, 2023 Changes in this version + var File_utils_retag_proto protoreflect.FileDescriptor + var LogicalOperator_Type_name = map[int32]string + var LogicalOperator_Type_value = map[string]int32 + var NumberArrayCondition_Type_name = map[int32]string + var NumberArrayCondition_Type_value = map[string]int32 + var NumberCondition_Type_name = map[int32]string + var NumberCondition_Type_value = map[string]int32 + var SortCriteria_Order_name = map[int32]string + var SortCriteria_Order_value = map[string]int32 + var StringArrayCondition_Type_name = map[int32]string + var StringArrayCondition_Type_value = map[string]int32 + var StringCondition_Type_name = map[int32]string + var StringCondition_Type_value = map[string]int32 + type Field struct + Name string + Subs map[string]*Field + func (*Field) Descriptor() ([]byte, []int) + func (*Field) ProtoMessage() + func (x *Field) GetName() string + func (x *Field) GetSubs() map[string]*Field + func (x *Field) ProtoReflect() protoreflect.Message + func (x *Field) Reset() + func (x *Field) String() string + type FieldSelection struct + Fields map[string]*Field + func (*FieldSelection) Descriptor() ([]byte, []int) + func (*FieldSelection) ProtoMessage() + func (x *FieldSelection) GetFields() map[string]*Field + func (x *FieldSelection) ProtoReflect() protoreflect.Message + func (x *FieldSelection) Reset() + func (x *FieldSelection) String() string + type Filtering struct + Root isFiltering_Root + func (*Filtering) Descriptor() ([]byte, []int) + func (*Filtering) ProtoMessage() + func (m *Filtering) GetRoot() isFiltering_Root + func (x *Filtering) GetNullCondition() *NullCondition + func (x *Filtering) GetNumberArrayCondition() *NumberArrayCondition + func (x *Filtering) GetNumberCondition() *NumberCondition + func (x *Filtering) GetOperator() *LogicalOperator + func (x *Filtering) GetStringArrayCondition() *StringArrayCondition + func (x *Filtering) GetStringCondition() *StringCondition + func (x *Filtering) ProtoReflect() protoreflect.Message + func (x *Filtering) Reset() + func (x *Filtering) String() string + type Filtering_NullCondition struct + NullCondition *NullCondition + type Filtering_NumberArrayCondition struct + NumberArrayCondition *NumberArrayCondition + type Filtering_NumberCondition struct + NumberCondition *NumberCondition + type Filtering_Operator struct + Operator *LogicalOperator + type Filtering_StringArrayCondition struct + StringArrayCondition *StringArrayCondition + type Filtering_StringCondition struct + StringCondition *StringCondition + type LogicalOperator struct + IsNegative bool + Left isLogicalOperator_Left + Right isLogicalOperator_Right + Type LogicalOperator_Type + func (*LogicalOperator) Descriptor() ([]byte, []int) + func (*LogicalOperator) ProtoMessage() + func (m *LogicalOperator) GetLeft() isLogicalOperator_Left + func (m *LogicalOperator) GetRight() isLogicalOperator_Right + func (x *LogicalOperator) GetIsNegative() bool + func (x *LogicalOperator) GetLeftNullCondition() *NullCondition + func (x *LogicalOperator) GetLeftNumberArrayCondition() *NumberArrayCondition + func (x *LogicalOperator) GetLeftNumberCondition() *NumberCondition + func (x *LogicalOperator) GetLeftOperator() *LogicalOperator + func (x *LogicalOperator) GetLeftStringArrayCondition() *StringArrayCondition + func (x *LogicalOperator) GetLeftStringCondition() *StringCondition + func (x *LogicalOperator) GetRightNullCondition() *NullCondition + func (x *LogicalOperator) GetRightNumberArrayCondition() *NumberArrayCondition + func (x *LogicalOperator) GetRightNumberCondition() *NumberCondition + func (x *LogicalOperator) GetRightOperator() *LogicalOperator + func (x *LogicalOperator) GetRightStringArrayCondition() *StringArrayCondition + func (x *LogicalOperator) GetRightStringCondition() *StringCondition + func (x *LogicalOperator) GetType() LogicalOperator_Type + func (x *LogicalOperator) ProtoReflect() protoreflect.Message + func (x *LogicalOperator) Reset() + func (x *LogicalOperator) String() string + type LogicalOperator_LeftNullCondition struct + LeftNullCondition *NullCondition + type LogicalOperator_LeftNumberArrayCondition struct + LeftNumberArrayCondition *NumberArrayCondition + type LogicalOperator_LeftNumberCondition struct + LeftNumberCondition *NumberCondition + type LogicalOperator_LeftOperator struct + LeftOperator *LogicalOperator + type LogicalOperator_LeftStringArrayCondition struct + LeftStringArrayCondition *StringArrayCondition + type LogicalOperator_LeftStringCondition struct + LeftStringCondition *StringCondition + type LogicalOperator_RightNullCondition struct + RightNullCondition *NullCondition + type LogicalOperator_RightNumberArrayCondition struct + RightNumberArrayCondition *NumberArrayCondition + type LogicalOperator_RightNumberCondition struct + RightNumberCondition *NumberCondition + type LogicalOperator_RightOperator struct + RightOperator *LogicalOperator + type LogicalOperator_RightStringArrayCondition struct + RightStringArrayCondition *StringArrayCondition + type LogicalOperator_RightStringCondition struct + RightStringCondition *StringCondition + type LogicalOperator_Type int32 + const LogicalOperator_AND + const LogicalOperator_OR + func (LogicalOperator_Type) Descriptor() protoreflect.EnumDescriptor + func (LogicalOperator_Type) EnumDescriptor() ([]byte, []int) + func (LogicalOperator_Type) Type() protoreflect.EnumType + func (x LogicalOperator_Type) Enum() *LogicalOperator_Type + func (x LogicalOperator_Type) Number() protoreflect.EnumNumber + func (x LogicalOperator_Type) String() string + type NullCondition struct + FieldPath []string + IsNegative bool + func (*NullCondition) Descriptor() ([]byte, []int) + func (*NullCondition) ProtoMessage() + func (x *NullCondition) GetFieldPath() []string + func (x *NullCondition) GetIsNegative() bool + func (x *NullCondition) ProtoReflect() protoreflect.Message + func (x *NullCondition) Reset() + func (x *NullCondition) String() string + type NumberArrayCondition struct + FieldPath []string + IsNegative bool + Type NumberArrayCondition_Type + Values []float64 + func (*NumberArrayCondition) Descriptor() ([]byte, []int) + func (*NumberArrayCondition) ProtoMessage() + func (x *NumberArrayCondition) GetFieldPath() []string + func (x *NumberArrayCondition) GetIsNegative() bool + func (x *NumberArrayCondition) GetType() NumberArrayCondition_Type + func (x *NumberArrayCondition) GetValues() []float64 + func (x *NumberArrayCondition) ProtoReflect() protoreflect.Message + func (x *NumberArrayCondition) Reset() + func (x *NumberArrayCondition) String() string + type NumberArrayCondition_Type int32 + const NumberArrayCondition_IN + func (NumberArrayCondition_Type) Descriptor() protoreflect.EnumDescriptor + func (NumberArrayCondition_Type) EnumDescriptor() ([]byte, []int) + func (NumberArrayCondition_Type) Type() protoreflect.EnumType + func (x NumberArrayCondition_Type) Enum() *NumberArrayCondition_Type + func (x NumberArrayCondition_Type) Number() protoreflect.EnumNumber + func (x NumberArrayCondition_Type) String() string + type NumberCondition struct + FieldPath []string + IsNegative bool + Type NumberCondition_Type + Value float64 + func (*NumberCondition) Descriptor() ([]byte, []int) + func (*NumberCondition) ProtoMessage() + func (x *NumberCondition) GetFieldPath() []string + func (x *NumberCondition) GetIsNegative() bool + func (x *NumberCondition) GetType() NumberCondition_Type + func (x *NumberCondition) GetValue() float64 + func (x *NumberCondition) ProtoReflect() protoreflect.Message + func (x *NumberCondition) Reset() + func (x *NumberCondition) String() string + type NumberCondition_Type int32 + const NumberCondition_EQ + const NumberCondition_GE + const NumberCondition_GT + const NumberCondition_LE + const NumberCondition_LT + func (NumberCondition_Type) Descriptor() protoreflect.EnumDescriptor + func (NumberCondition_Type) EnumDescriptor() ([]byte, []int) + func (NumberCondition_Type) Type() protoreflect.EnumType + func (x NumberCondition_Type) Enum() *NumberCondition_Type + func (x NumberCondition_Type) Number() protoreflect.EnumNumber + func (x NumberCondition_Type) String() string + type PageInfo struct + Offset int32 + PageToken string + Size int32 + func (*PageInfo) Descriptor() ([]byte, []int) + func (*PageInfo) ProtoMessage() + func (x *PageInfo) GetOffset() int32 + func (x *PageInfo) GetPageToken() string + func (x *PageInfo) GetSize() int32 + func (x *PageInfo) ProtoReflect() protoreflect.Message + func (x *PageInfo) Reset() + func (x *PageInfo) String() string + type Pagination struct + Limit int32 + Offset int32 + PageToken string + func (*Pagination) Descriptor() ([]byte, []int) + func (*Pagination) ProtoMessage() + func (x *Pagination) GetLimit() int32 + func (x *Pagination) GetOffset() int32 + func (x *Pagination) GetPageToken() string + func (x *Pagination) ProtoReflect() protoreflect.Message + func (x *Pagination) Reset() + func (x *Pagination) String() string + type Searching struct + Query string + func (*Searching) Descriptor() ([]byte, []int) + func (*Searching) ProtoMessage() + func (x *Searching) GetQuery() string + func (x *Searching) ProtoReflect() protoreflect.Message + func (x *Searching) Reset() + func (x *Searching) String() string + type SortCriteria struct + Order SortCriteria_Order + Tag string + func (*SortCriteria) Descriptor() ([]byte, []int) + func (*SortCriteria) ProtoMessage() + func (x *SortCriteria) GetOrder() SortCriteria_Order + func (x *SortCriteria) GetTag() string + func (x *SortCriteria) ProtoReflect() protoreflect.Message + func (x *SortCriteria) Reset() + func (x *SortCriteria) String() string + type SortCriteria_Order int32 + const SortCriteria_ASC + const SortCriteria_DESC + func (SortCriteria_Order) Descriptor() protoreflect.EnumDescriptor + func (SortCriteria_Order) EnumDescriptor() ([]byte, []int) + func (SortCriteria_Order) Type() protoreflect.EnumType + func (x SortCriteria_Order) Enum() *SortCriteria_Order + func (x SortCriteria_Order) Number() protoreflect.EnumNumber + func (x SortCriteria_Order) String() string + type Sorting struct + Criterias []*SortCriteria + func (*Sorting) Descriptor() ([]byte, []int) + func (*Sorting) ProtoMessage() + func (x *Sorting) GetCriterias() []*SortCriteria + func (x *Sorting) ProtoReflect() protoreflect.Message + func (x *Sorting) Reset() + func (x *Sorting) String() string + type StringArrayCondition struct + FieldPath []string + IsNegative bool + Type StringArrayCondition_Type + Values []string + func (*StringArrayCondition) Descriptor() ([]byte, []int) + func (*StringArrayCondition) ProtoMessage() + func (x *StringArrayCondition) GetFieldPath() []string + func (x *StringArrayCondition) GetIsNegative() bool + func (x *StringArrayCondition) GetType() StringArrayCondition_Type + func (x *StringArrayCondition) GetValues() []string + func (x *StringArrayCondition) ProtoReflect() protoreflect.Message + func (x *StringArrayCondition) Reset() + func (x *StringArrayCondition) String() string + type StringArrayCondition_Type int32 + const StringArrayCondition_IN + func (StringArrayCondition_Type) Descriptor() protoreflect.EnumDescriptor + func (StringArrayCondition_Type) EnumDescriptor() ([]byte, []int) + func (StringArrayCondition_Type) Type() protoreflect.EnumType + func (x StringArrayCondition_Type) Enum() *StringArrayCondition_Type + func (x StringArrayCondition_Type) Number() protoreflect.EnumNumber + func (x StringArrayCondition_Type) String() string + type StringCondition struct + FieldPath []string + IsNegative bool + Type StringCondition_Type + Value string + func (*StringCondition) Descriptor() ([]byte, []int) + func (*StringCondition) ProtoMessage() + func (x *StringCondition) GetFieldPath() []string + func (x *StringCondition) GetIsNegative() bool + func (x *StringCondition) GetType() StringCondition_Type + func (x *StringCondition) GetValue() string + func (x *StringCondition) ProtoReflect() protoreflect.Message + func (x *StringCondition) Reset() + func (x *StringCondition) String() string + type StringCondition_Type int32 + const StringCondition_EQ + const StringCondition_GE + const StringCondition_GT + const StringCondition_IEQ + const StringCondition_LE + const StringCondition_LT + const StringCondition_MATCH + func (StringCondition_Type) Descriptor() protoreflect.EnumDescriptor + func (StringCondition_Type) EnumDescriptor() ([]byte, []int) + func (StringCondition_Type) Type() protoreflect.EnumType + func (x StringCondition_Type) Enum() *StringCondition_Type + func (x StringCondition_Type) Number() protoreflect.EnumNumber + func (x StringCondition_Type) String() string v0.0.7 May 27, 2022 v0.0.6 May 25, 2022 v0.0.5 May 24, 2022 v0.0.4 May 24, 2022 v0.0.3 May 24, 2022 v0.0.2 May 24, 2022 v0.0.1 May 23, 2022 Changes in this version + const SliceSize + const StrSize + func BtoS(b []byte) (s string) + func BtoU4(b []byte) (i []uint32) + func BtoU8(b []byte) (i []uint64) + func ByteSize(bytes uint64) string + func CmpB(a, b []byte) int + func CmpS(a, b string) (r int) + func CodeFormat(data ...string) string + func Copy(x []byte) []byte + func CopyBytes(b []byte) []byte + func CopyString(s string) string + func Cost(fn func()) (dur time.Duration, err error) + func DirExists(path string) bool + func DotJoin(str ...string) string + func EqualFieldType(out interface{}, kind reflect.Kind, key string) bool + func EqualFold(b, s string) (equals bool) + func EqualFoldBytes(b, s []byte) (equals bool) + func FileExists(path string) bool + func FirstFnNotEmpty(fx ...func() string) string + func FirstNotEmpty(strs ...string) string + func GetDefault(names ...string) string + func IfEmpty(str string, fx func()) + func InsideTest() bool + func Memviz(is ...interface{}) []byte + func StoB(s string) (b []byte) + func StoU4(s string) (i []uint32) + func StoU8(s string) (i []uint64) + func ToLower(b string) string + func ToLowerBytes(b []byte) []byte + func ToUpper(b string) string + func ToUpperBytes(b []byte) []byte + func TransformObject2Param(object interface{}) (params map[string]string) + func Trim(s string, cutset byte) string + func TrimBytes(b []byte, cutset byte) []byte + func TrimLeft(s string, cutset byte) string + func TrimLeftBytes(b []byte, cutset byte) []byte + func TrimRight(s string, cutset byte) string + func TrimRightBytes(b []byte, cutset byte) []byte + func U4toB(i []uint32) (b []byte) + func U4toS(i []uint32) (s string) + func U4toU8(i []uint32) (k []uint64) + func U8toB(i []uint64) (b []byte) + func U8toS(i []uint64) (s string) + func U8toU4(i []uint64) (k []uint32) + func UnsafeBytes(s string) (bs []byte) + func UnsafeString(b []byte) string + type Slice struct + Cap int + Data unsafe.Pointer + Len int + func BtoSlices(b []byte) (ss []Slice) + func U4toSlices(i []uint32) (ss []Slice) + func U8toSlices(i []uint64) (ss []Slice) + type String struct + Data unsafe.Pointer + Len int + func B2S(b []byte) (ss []String) + func U4toStrs(i []uint32) (ss []String) + func U8toStrs(i []uint64) (ss []String)