timeutils

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDelayOperation

func EnsureDelayOperation(start time.Time, opDelay time.Duration)

EnsureDelayOperation delays the execution by the opDelay provided, used for return statements

func FromProtoTimestamps

func FromProtoTimestamps(pts ...*timestamp.Timestamp) ([]*time.Time, error)

FromProtoTimestamps converts timestamp.Timestamps

func ToProtoTimestamps

func ToProtoTimestamps(tms ...*time.Time) ([]*timestamp.Timestamp, error)

ToProtoTimestamps converts time.Time to timestamp.Timestamps

Types

This section is empty.

Jump to

Keyboard shortcuts

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