Fix install of test dependencies; and simplify code.
gofmt
Merge pull request #9 from jmcvetta/fix_test_depends

Fix test depends
When running annotate, make sure we only see the function we want.

gocov annotate takes a regexp as input, not the function required.  Thus
if a function is a prefix for another in the same package, both will be
returned.  At the minimum, this will cause an incorrect report.  If the
second function's line number is outside the range of the original function's
source file's line numbers, the program will panic.  Fix by using a regexp
to force the exact string to match.
Merge pull request #10 from MJDSys/FixAnnotatePanic

When running annotate, make sure we only see the function we want.
Don't panic on source line mismatch

This happens when multiple functions have the same name, e.g. init()
Use the gocov output directly
Separate coverage loading from main
Don't hard-code import path for tests

Makes it hard to test my fork
Allow separation of coverage run from push to coveralls
Merge pull request #13 from dustin/master

Don't panic on source line mismatch
Emit API request to stdout when running with empty token
Handle files with missing trailing newlines
Skip files that can't be read

Some code generators produce filenames in the coverage report that don't
correspond to actual files on the filesystem.  Just skip them and let's
get coverage for the other parts.
Merge pull request #14 from dustin/master

Handle autogenerated code better
Remove some unused vars
Use struct literals
Move git handling to separate file
Added a .gitignore
Separate gocov-specific handling from core reporting