xtime

package
v0.0.0-...-016edcc Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatFixedWidthDuration

func FormatFixedWidthDuration(d time.Duration) string

func RoundDuration

func RoundDuration(d time.Duration, digits int) time.Duration

Types

type Debounce

type Debounce struct {
	// contains filtered or unexported fields
}

func NewDebounce

func NewDebounce(duration time.Duration) *Debounce

func (*Debounce) Do

func (d *Debounce) Do(f func(ctx context.Context))

Jump to

Keyboard shortcuts

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