feat: Implement Object, Promise and reflection #3

Merged
hamza merged 5 commits from chanbakjsd/go-mod-wasm:reflect into master 2021-03-21 13:56:15 +07:00

5 Commits (master)

Author SHA1 Message Date
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