Skip to content

Commit 68dbdba

Browse files
committed
Update README.
1 parent 103fe34 commit 68dbdba

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ perform actions at clock times.
1010
See http://godoc.org/github.com/beevik/timerqueue for godoc-formatted API
1111
documentation.
1212

13-
###Example: Scheduling timers
13+
## Example: Scheduling timers
1414

1515
The following code declares an object implementing the Timer interface,
1616
creates 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

3434
Using the queue initialized in the first example, the following code
3535
examines 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.
4949
3 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

5454
Using the queue initialized in the first example, this code
5555
removes 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.
6868
Event 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

7373
The final example shows how to dispatch OnTimer callbacks to
7474
timers using the timerqueue's Advance method.

0 commit comments

Comments
 (0)