Relative Content

Tag Archive for javascriptgowebassemblygo-wasm

How do I import a golang compiled WASM function into js and use it?

I am trying to import a function from my golang WASM file to use in javascript but anytime i try and use the function i get a undefined error. But if i import my WASM file and then use the console i can manually call the function. I need to be able to call it within the js program. Thank’s!