time

package
v3.10.17 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDuration

func ParseDuration(s string) (time.Duration, error)

Types

type Duration

type Duration int64

func (Duration) MarshalJSON added in v3.10.10

func (d Duration) MarshalJSON() ([]byte, error)

func (*Duration) UnmarshalJSON added in v3.10.10

func (d *Duration) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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