Documentation
¶
Index ¶
- Constants
- func AnyBool(v bool) *anypb.Any
- func AnyBoolSlice(v []bool) *anypb.Any
- func AnyCondition(operator gwtypes.OperatorType, multi gwtypes.MultiType, ...) *anypb.Any
- func AnyDouble(v float64) *anypb.Any
- func AnyDoubleSlice(v []float64) *anypb.Any
- func AnyFloat(v float32) *anypb.Any
- func AnyFloatSlice(v []float32) *anypb.Any
- func AnyInt(v int) *anypb.Any
- func AnyInt32(v int32) *anypb.Any
- func AnyInt32Slice(v []int32) *anypb.Any
- func AnyInt64(v int64) *anypb.Any
- func AnyInt64Slice(v []int64) *anypb.Any
- func AnyIntSlice(v []int) *anypb.Any
- func AnyInterface(ctx context.Context, any interface{}, tag reflect.StructTag) *anypb.Any
- func AnyInterfaceCondition(ctx context.Context, any interface{}, tag reflect.StructTag) *anypb.Any
- func AnySlice(ctx context.Context, any interface{}, tag reflect.StructTag) *anypb.Any
- func AnySliceCondition(ctx context.Context, any interface{}, tag reflect.StructTag) *anypb.Any
- func AnyString(v string) *anypb.Any
- func AnyStringSlice(v []string) *anypb.Any
- func AnyUInt(v uint) *anypb.Any
- func AnyUInt32(v uint32) *anypb.Any
- func AnyUInt32Slice(v []uint32) *anypb.Any
- func AnyUInt64(v uint64) *anypb.Any
- func AnyUInt64Slice(v []uint64) *anypb.Any
- func AnyUIntSlice(v []uint) *anypb.Any
- func WrapBool(v interface{}) *bool
- func WrapDouble(v interface{}) *float64
- func WrapFloat(v interface{}) *float32
- func WrapInt32(v interface{}) *int32
- func WrapInt64(v interface{}) *int64
- func WrapString(v interface{}) *string
- func WrapTimestamp(v interface{}) *timestamppb.Timestamp
- func WrapUInt32(v interface{}) *uint32
- func WrapUInt64(v interface{}) *uint64
Constants ¶
View Source
const ( ConditionQueryPrefix = "condition{" ConditionQuerySuffix = "}" TagNameOperator = "operator" TagNameMulti = "multi" TagNameWildcard = "wildcard" FieldNameOperator = "operator" FieldNameMulti = "multi" FieldNameWildcard = "wildcard" FieldNameValue = "value" )
Variables ¶
This section is empty.
Functions ¶
func AnyBoolSlice ¶
func AnyCondition ¶
func AnyCondition(operator gwtypes.OperatorType, multi gwtypes.MultiType, wildcard gwtypes.WildcardType, value *anypb.Any) *anypb.Any
func AnyDoubleSlice ¶
func AnyFloatSlice ¶
func AnyInt32Slice ¶
func AnyInt64Slice ¶
func AnyIntSlice ¶
func AnyInterface ¶
func AnyInterfaceCondition ¶
func AnySliceCondition ¶
func AnyStringSlice ¶
func AnyUInt32Slice ¶
func AnyUInt64Slice ¶
func AnyUIntSlice ¶
func WrapDouble ¶
func WrapDouble(v interface{}) *float64
func WrapString ¶
func WrapString(v interface{}) *string
func WrapTimestamp ¶
func WrapTimestamp(v interface{}) *timestamppb.Timestamp
func WrapUInt32 ¶
func WrapUInt32(v interface{}) *uint32
func WrapUInt64 ¶
func WrapUInt64(v interface{}) *uint64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.