handler
handler copied to clipboard
Making JSON marshaling use Encoder
Making the JSON serialization more efficient by writing to the stream directly instead of creating an intermediate buffer and then writing that.
Cleaning up the tests. The package was being imported explicitly which means tests will not test changes in forked repositories. Made the test package name the same as the package to make sure tests are testing the code in the current repo.
Coverage decreased (-0.4%) to 86.755% when pulling e70c16a3a49ed33bca21dffdae6c4dcd93e8d41f on sjhitchner:user-json-encoder into c1c8ee7b173a5f70fe039529659fbb30f1a435a0 on graphql-go:master.