@@ -10,7 +10,7 @@ perform actions at clock times.
1010See http://godoc.org/github.com/beevik/timerqueue for godoc-formatted API
1111documentation.
1212
13- ### Example: Scheduling timers
13+ ## Example: Scheduling timers
1414
1515The following code declares an object implementing the Timer interface,
1616creates a timerqueue, and adds three events to the timerqueue.
@@ -29,7 +29,7 @@ queue.Schedule(event(3), time.Date(2015, 1, 2, 0, 0, 0, 0, time.UTC))
2929
3030```
3131
32- ### Example: Peeking at the next timer to be scheduled
32+ ## Example: Peeking at the next timer to be scheduled
3333
3434Using the queue initialized in the first example, the following code
3535examines the head of the timerqueue and outputs the id and time of
@@ -49,7 +49,7 @@ Event 1 will be first to fire at 2015-01-01 00:00:00 +0000 UTC.
49493 events remain in the timerqueue.
5050```
5151
52- ### Example: Popping the next timer to be scheduled
52+ ## Example: Popping the next timer to be scheduled
5353
5454Using the queue initialized in the first example, this code
5555removes the next timer to be executed until the queue is empty.
@@ -68,7 +68,7 @@ Event 3 fires at 2015-01-02 00:00:00 +0000 UTC.
6868Event 2 fires at 2015-01-03 00:00:00 +0000 UTC.
6969```
7070
71- ### Example: Issuing OnTimer callbacks with Advance
71+ ## Example: Issuing OnTimer callbacks with Advance
7272
7373The final example shows how to dispatch OnTimer callbacks to
7474timers using the timerqueue's Advance method.
0 commit comments