durationx

package
v2.0.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Days

func Days(days int) time.Duration

Days create time.Duration from hours

func Hours

func Hours(hours int) time.Duration

Hours create time.Duration from hours

func MicroSeconds

func MicroSeconds(micros int) time.Duration

MicroSeconds create time.Duration from micro seconds

func MilliSeconds

func MilliSeconds(millis int) time.Duration

MilliSeconds create time.Duration from milliseconds

func Minutes

func Minutes(minutes int) time.Duration

Minutes create time.Duration from minutes

func NanoSeconds

func NanoSeconds(nanos int) time.Duration

NanoSeconds create time.Duration from nano seconds

func Seconds

func Seconds(seconds int) time.Duration

Seconds create time.Duration from seconds

Types

This section is empty.

Jump to

Keyboard shortcuts

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