Skip to content

Configuring GoLand for WebAssembly

Justin Clift edited this page Sep 4, 2018 · 9 revisions

Configuring GoLand for WebAssembly (Wasm) projects

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.

Goland Wasm Setup pic1

Goland Wasm Setup pic2

Goland Wasm Setup pic3

Goland Wasm Setup pic4

Clone this wiki locally