util

package
v1.20.6 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTime added in v0.20.2

func ParseTime(date string) (*types.Timestamp, error)

ParseTime parses a given date string in RFC3339 to a proto timestamp. Usually used by from / to settings.

func ParseTimeFromNow

func ParseTimeFromNow(value string) (time.Time, error)

ParseTimeFromNow parse a timestamp or duration before now.

Types

This section is empty.

Jump to

Keyboard shortcuts

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