Skip to content

Glossary: Go Beyond the Basics

time.Duration

Also written: Duration

A length of time, built by multiplying units such as `300 * time.Millisecond`.

Where the book teaches it

Related terms

timeouttime.Sleep / time.Now / time.Since