Read correct number of messages from end of file (#7)
Read correct number of messages from end of file (#7)

* trivial improvement of some checks

* use file instead of bufio.Reader in readNumOfMessages from file end

Signed-off-by: Leon Ziyang Zhang <2a3112ba6c7a44c660bb176a38a87bf0e7fa926d@google.com>
kev1n80/go-diskqueue