time

package
v0.0.0-...-8749f2e Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDuration

func ParseDuration(duration string) (*time.Duration, error)

ParseDuration parses a duration string and returns the time.Duration

func ParseSince

func ParseSince(duration string) (*time.Time, error)

ParseSince parses a duration string and returns a time.Time in history relative to current time

Types

This section is empty.

Jump to

Keyboard shortcuts

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