November 2017
Intermediate to advanced
670 pages
17h 35m
English
We can call this handy function any time we want the list of AM hours. Note that if we create an AmHours variable to pass to our clock's functor, its value can be changed. So, this is like a slice constant of AM hours:
func AmHoursFn() []int { return []int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}}
Read now
Unlock full access