idada/v8.go — pull request #31 by tobz (2014-05-26 19:52:17+00:00)
Title: Fix unsigned int binding

This PR is to fix the reflection of integer fields on structs when being marshalled from Go to V8. Before, the code was incorrectly calling reflect.Value.Int() on signed and unsigned integers alike. I updated it to use reflect.Value.Uint() where appropriate. I also added a unit test to test the case of passing in a struct which needs both a signed and unsigned integer marshalled.