Go language
vscode powershell setup
The powershell does not have the environment variables setup for go
when it starts.
First setup the powershell startup as shown in
Powershell setup.
In your go project directory create .psrc.ps1
and put the following to get the
environment variables setup.
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
$env:GOPATH = [Environment]::GetEnvironmentVariable("GOPATH","User")
Alternatively you can setup your custom go binary path and GOPATH
in this file as well.
Server
desktop
- https://github.com/zserge/lorca
- https://youtu.be/p_7MfQZTy34
- https://github.com/webview/webview
- https://github.com/wailsapp/wails
- https://youtu.be/Dg9rUXxNV-c
- https://github.com/asticode/go-astilectron
TODO: So far, go-astilectron seems most promising for serious development. But, astilectron is using tcp connection for ipc. Instead path based connection will much be much faster as long as both endpoints are within the same host which is the most typical case. Under the hood path based connection uses unix domain socket or windows named pipe depending on the o/s. As such the go side need to adjust for path based connection.