You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Thanks for this project. Quick question: is there a way to tell go2js to emit some raw JS code from within a .go file?
If not, how do you recommend writing wrappers for existing JS libraries? For example, I'd like to wrap a library like jQuery and encapsulate the Go->JS bindings in a single place. Then I can call the wrapped Go version in a type safe manner.
Thoughts?
The text was updated successfully, but these errors were encountered:
I'm basically looking for a FFI from Go to JS. I want to wrap some existing JS libraries.
It looks like this could be done without modifying the translator much and could probably be done as a separate project.
I saw a thread on golang-nuts about this project and there was some talk that supporting a FFI was not part of the project goals. Is that true? If so then I can spin up a new github project and keep it separate.
Thanks for this project. Quick question: is there a way to tell go2js to emit some raw JS code from within a .go file?
If not, how do you recommend writing wrappers for existing JS libraries? For example, I'd like to wrap a library like jQuery and encapsulate the Go->JS bindings in a single place. Then I can call the wrapped Go version in a type safe manner.
Thoughts?
The text was updated successfully, but these errors were encountered: