Documentation ¶
Index ¶
- func DecodeTime(timestamp *timestamp.Timestamp) time.Time
- func DecodeTimeP(timestamp *timestamp.Timestamp) *time.Time
- func EncodeTime(time time.Time) *timestamp.Timestamp
- func EncodeTimeP(time *time.Time) *timestamp.Timestamp
- func UnwrapBool(i *wrappers.BoolValue) *bool
- func UnwrapDouble(i *wrappers.DoubleValue) *float64
- func UnwrapFloat(i *wrappers.FloatValue) *float32
- func UnwrapInt32(i *wrappers.Int32Value) *int32
- func UnwrapString(stringValue *wrappers.StringValue) *string
- func UnwrapUInt32(i *wrappers.UInt32Value) *uint32
- func WrapBool(i *bool) *wrappers.BoolValue
- func WrapDouble(i *float64) *wrappers.DoubleValue
- func WrapFloat(i *float32) *wrappers.FloatValue
- func WrapInt32(i *int32) *wrappers.Int32Value
- func WrapString(str *string) *wrappers.StringValue
- func WrapUInt32(i *uint32) *wrappers.UInt32Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnwrapBool ¶
func UnwrapDouble ¶
func UnwrapDouble(i *wrappers.DoubleValue) *float64
func UnwrapFloat ¶
func UnwrapFloat(i *wrappers.FloatValue) *float32
func UnwrapInt32 ¶
func UnwrapInt32(i *wrappers.Int32Value) *int32
func UnwrapString ¶
func UnwrapString(stringValue *wrappers.StringValue) *string
func UnwrapUInt32 ¶
func UnwrapUInt32(i *wrappers.UInt32Value) *uint32
func WrapDouble ¶
func WrapDouble(i *float64) *wrappers.DoubleValue
func WrapFloat ¶
func WrapFloat(i *float32) *wrappers.FloatValue
func WrapInt32 ¶
func WrapInt32(i *int32) *wrappers.Int32Value
func WrapString ¶
func WrapString(str *string) *wrappers.StringValue
func WrapUInt32 ¶
func WrapUInt32(i *uint32) *wrappers.UInt32Value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.