Instead of calling panic(), the Init, ReadTable and WriteTable functions in table.go should return the error. Using LXRHash from a larger program is made more difficult because of these panic() calls.
I'm happy to submit a PR. I thought I should open this discussion to make sure that others agree.
Instead of calling
panic(), theInit,ReadTableandWriteTablefunctions in table.go should return theerror. Using LXRHash from a larger program is made more difficult because of thesepanic()calls.I'm happy to submit a PR. I thought I should open this discussion to make sure that others agree.