Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

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.

using dbus

python to go