timestamp

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProtoTimestampNow

func ProtoTimestampNow() *timestamppb.Timestamp

ProtoProtoTimestampNow gets the current Protobuf Timestamp

func TimeToProtoTimestamp

func TimeToProtoTimestamp(time time.Time) *timestamppb.Timestamp

TimeToProtoTimestamp converts from time.Time to Protobuf Timestamp

Types

This section is empty.

Jump to

Keyboard shortcuts

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