Documentation ¶
Index ¶
- func Bool(value bool) *bool
- func FieldMask(columns ...string) *fieldmaskpb.FieldMask
- func Float32(value float32) *float32
- func Float64(value float64) *float64
- func GetBool(value *bool) bool
- func GetFloat32(value *float32) float32
- func GetFloat64(value *float64) float64
- func GetInt32(value *int32) int32
- func GetInt64(value *int64) int64
- func GetString(value *string) string
- func GetTime(value *time.Time) time.Time
- func Int32(value int32) *int32
- func Int64(value int64) *int64
- func NamespaceRef(x proto.Message) string
- func OrderByMask(clause ...string) *fieldmaskpb.FieldMask
- func String(value string) *string
- func Time(value time.Time) *time.Time
- func Timestamp(value *time.Time) *timestamppb.Timestamp
- func URLRef(x proto.Message) string
- func UnionMask(x *fieldmaskpb.FieldMask, columns ...string) *fieldmaskpb.FieldMask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldMask ¶
func FieldMask(columns ...string) *fieldmaskpb.FieldMask
FieldMask creates a field mask that usuaally used to update the field.
func NamespaceRef ¶
NamespaceRef returns the message namespace
func OrderByMask ¶
func OrderByMask(clause ...string) *fieldmaskpb.FieldMask
OrderByMask creates a field mask that usuaally used to order by the field.
func Timestamp ¶
func Timestamp(value *time.Time) *timestamppb.Timestamp
Timestamp converts a time to timestamp.
func UnionMask ¶
func UnionMask(x *fieldmaskpb.FieldMask, columns ...string) *fieldmaskpb.FieldMask
UnionMask returns the union of all the paths in the input field masks.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.