Robert Krimen
7597815bd0
Fix toReflectValue(0) => float32
...
This fixes #123
2015-05-07 22:53:02 -07:00
Robert Krimen
709a0aa7ff
Value.string(), .float64(), .bool(), etc.
2014-06-06 21:29:40 -07:00
Robert Krimen
918abeb8d8
The zero value of Value is now defined to be undefined
...
Previously, it was a publically accessible but invalid value (valueEmpty).
* Deprecate internal use of UndefinedValue(), NullValue(), FalseValue(), TrueValue()
* Guard against Empty, Result, Reference values from escaping the package
2014-05-28 21:23:32 -07:00
Robert Krimen
470b8c3b73
terst
...
* Update to latest github.com/robertkrimen/terst
* Clean up testing
2014-04-25 22:48:25 -07:00
Daniel Cannon
661a61c5a0
Fix toValue not properly converting type aliases
...
This fixes #61
2014-03-16 08:46:20 -07:00
Daniel Cannon
fd6b047e2b
Updated toValue to properly handle nil pointers (dancannon)
...
Also, added test
2014-01-18 17:35:26 -08:00
Robert Krimen
091c371aea
Change handling of undefined in .Export
...
This fixes #28
2013-06-22 16:33:41 +02:00
Robert Krimen
83c56dd73d
Add Otto.Call
2013-05-19 19:03:05 -07:00
Robert Krimen
3c139264ef
Handle ToValue(nil)
2013-05-19 17:43:08 -07:00
Robert Krimen
adf21d0208
No rush to change the interface of Value.Export()
2013-05-15 19:30:39 -07:00
Robert Krimen
faaed09553
Change Export() to have new interface and slightly different behavior
2013-05-15 19:04:39 -07:00
Robert Krimen
9184233705
Bundle terst dependency (github.com/robertkrimen/terst)
2013-04-15 10:20:34 -07:00
Robert Krimen
a8a7c323e8
Better testing for toUint16/32/Int32
2013-02-18 16:26:35 -08:00
Robert Krimen
bdaa00884d
toU16/U32/I32 => toUint16/Uint32/Int32
2013-02-18 15:58:48 -08:00
Robert Krimen
20d2e8bba6
gofmt
...
Ugh.
2013-01-25 09:59:42 -08:00
Marty Schoch
5bac9a7a34
add Export capability to javascript Value
...
this allows you to export a javascript Value back
for use in go. the result structure should be the
same as if you serialized to JSON in javascript
and then Unmarshal'd those bytes in go
2012-11-07 08:18:46 -05:00
Robert Krimen
4a8c7ffc00
Initial commit
2012-10-05 18:47:53 -07:00