ptypes

package
v0.0.0-...-bc8cfc3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package ptypes provides utility functions for use with gogo/protobuf/ptypes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustTimestampProto

func MustTimestampProto(t time.Time) *gogotypes.Timestamp

MustTimestampProto converts time.Time to a google.protobuf.Timestamp proto. It panics if input timestamp is invalid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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