mattn/go-v8 — pull request #4 by jasondelponte (2012-12-28 23:39:58+00:00)
Title: Adding tests to go-v8, and enabling return values on callback function

These three sets of changes do the following:

- go fmt all of the go code for consistency.

- Added a v8_test.go so that tests can be run on the package to know it is operating as expected. Specific focus of these test are the AddFunc, and that functions returned object into the javascript context.

- Updated the _go_call to return a javascript object if a value was returned by the _go_callback.