-
Notifications
You must be signed in to change notification settings - Fork 17.8k
Configuring GoLand for WebAssembly
Justin Clift edited this page Sep 4, 2018
·
9 revisions
When you first open or start a WebAssembly project in GoLand, it won't understand the "syscall/js" package.
That's easily fixable, by changing the GOOS and GOARCH values in the project settings, as per the screenshots below.
With the initial project settings changed, you'll probably want to configure the Run/Debug settings next.
That will let you recompile the .wasm file by just launching Run
(Shift+F10 on Linux).
Finished, your GoLand setup should now be complete.