mvader/magnet — pull request #21 by NovemberFoxtrot (2013-12-11 16:09:04+00:00)
Title: Moving things around

I moved handlers to ```handle.go``` then moved their rethinkdb statement to ```data.go```. This isolates the data and http funcs. My goal is to factor out any repeated code.

Then come back into the other files and make everything nice and clean.

Lastly I will add tests. I would like to get 90%+ code coverage.

Sounds good?

What do you use for javascript tests?

Muchas gracias!