Skip to content

Glossary: Go Basics

Duration

A length of time, such as the gap between two times returned by `Sub`. `Hours()` converts it to hours.

Where the book teaches it

Related terms

time package