Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromTimestamp ¶
func FromTimestamp(from *timestamppb.Timestamp) time.Time
FromTimestamp creates time.Time from protobuf's Timestamp.
func ToTimestamp ¶
func ToTimestamp(from time.Time) *timestamppb.Timestamp
ToTimestamp creates protobuf's Timestamp from time.Time.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package proto provides convenient aliases that make google.golang.org/protobuf migration easier.
|
Package proto provides convenient aliases that make google.golang.org/protobuf migration easier. |
|
Package types provides convenient aliases that make google.golang.org/protobuf migration easier.
|
Package types provides convenient aliases that make google.golang.org/protobuf migration easier. |
Click to show internal directories.
Click to hide internal directories.