util

package
v0.1.0-alpha.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2020 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeTime

func DecodeTime(timestamp *timestamp.Timestamp) time.Time

func DecodeTimeP

func DecodeTimeP(timestamp *timestamp.Timestamp) *time.Time

func EncodeTime

func EncodeTime(time time.Time) *timestamp.Timestamp

func EncodeTimeP

func EncodeTimeP(time *time.Time) *timestamp.Timestamp

func UnwrapBool

func UnwrapBool(i *wrappers.BoolValue) *bool

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 WrapBool

func WrapBool(i *bool) *wrappers.BoolValue

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL