duration

package
v0.0.0-...-70bb79b Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DurationOff = Duration((1 << 63) - 1)

Variables

This section is empty.

Functions

func DurationVar

func DurationVar(f *pflag.FlagSet, p *time.Duration, name string, value time.Duration, usage string)

Types

type Duration

type Duration time.Duration

func (*Duration) Set

func (d *Duration) Set(s string) error

func (*Duration) String

func (d *Duration) String() string

func (*Duration) Type

func (d *Duration) Type() string

Jump to

Keyboard shortcuts

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