timeutils

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallWithCtx

func CallWithCtx(ctx context.Context, fn func() struct{}) error

func Parse

func Parse(t string, defaultDur time.Duration) (time.Duration, error)

Parse parses string to time.Duration

Types

This section is empty.

Jump to

Keyboard shortcuts

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