Working with multiple architectures without manually switching

Answered

Hi there. Wondering if anyone can point me at a method for making my workflow less painful.

I am working on a Go WASM project which has both frontend and backend components in Go. For frontend I use GOARCH=wasm and GOOS=js. For backend I use GOARCH=arm64 and GOOS=darwin. Currently I have to manually switch between this depending on what code I am looking at, which is obviously a pain in the ass.

Is there any way to automate this workflow? eg. allow me to define these env vars on a per directory basis?

Thanks!

0
1 comment
Official comment

Hi Nathan,

Sorry, but there are no ways to automate it somehow in GoLand.

Feel free to follow GO-1736 (plus Relates to section) and you will get notified about the status of this feature.

Please sign in to leave a comment.