mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Create initial page showing the setup pieces needed for GoLand
parent
8bccb1ddcc
commit
123cd06d67
13
Configuring-GoLand-for-WebAssembly.md
Normal file
13
Configuring-GoLand-for-WebAssembly.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
## 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.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
Loading…
x
Reference in New Issue
Block a user