Commit Graph

7 Commits (reflect_from)

Author SHA1 Message Date
Chan Wen Xu 421c331333
fix: Call FromJSValue using the correct parameter 2021-03-23 00:30:51 +07:00
Chan Wen Xu 8eadf27091
feat: Implement FromJSValue 2021-03-23 00:30:42 +07:00
Chan Wen Xu 9faa609930
fix: Use function wrapper provided by JS 2021-03-21 21:55:07 +07:00
Chan Wen Xu 37088bf382
docs: Document unexported functions
Some unexported functions are non-trivial and may be confusing. This
commit clarifies their use.
2021-03-21 21:55:07 +07:00
Chan Wen Xu ad5b341b1e
feat: Add reflection to create JS value from Go value 2021-03-21 21:55:07 +07:00
Chan Wen Xu f3864a59ca
feat: Implement Promise 2021-03-21 21:55:07 +07:00
Chan Wen Xu 392b175abf
feat: Implement a type-safe Object struct 2021-03-21 21:55:07 +07:00