proto

package
v1.10.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HookPBTimestampToTime

func HookPBTimestampToTime(from, to reflect.Type, data interface{}) (interface{}, error)

HookPBTimestampToTime is a mapstructure decode hook to translate a protobuf timestamp to a time.Time value

func HookTimeToPBTimestamp

func HookTimeToPBTimestamp(from, to reflect.Type, data interface{}) (interface{}, error)

HookTimeToPBtimestamp is a mapstructure decode hook to translate a time.Time value to a protobuf Timestamp value.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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