Update main.go
Exporting your read function so it can be used when using your code as a library
Thanks for this patch @mathew-bowersox . I'm assuming you are importing this in which case this patch will work fine for you. However as it stands this would break main() and the tests in main_test.go. If you could update this patch so that go test works. and main() still works. I'll merge the patch.
Additionally to do this correctly main should be moved to cmd/jfect and package code should move to pkg along with tests. Then anything can import github.com/mrosset/jflect/pkg including cmd/jflect.
@mathew-bowersox thanks for the changes, just a couple of things to fix and then almost done.