Silk Web Hosting: Go

Modified

A recent release of Go is available from the command-line and experimentally for web applications (ask Systems Architecture & Administration for details). Go code is usually forward-compatible with newer language releases, and compiled code will generally work across Linux systems regardless of compiler availability. Information on major releases can be found in The Go Blog, with full details on all releases described in the release history.

Workspace

By default, the path for your Go workspace is ~/go/. If you need to change this or add another workspace, you can override the environment variable $GOPATH with the new directory location.

Packages

You can install remote packages into your workspace with go get. Source code will be installed in ~/go/src/ and compiled applications will be installed in ~/go/bin/. For example:

$ go get github.com/golang/example/hello
$ $GOPATH/bin/hello
Hello, Go examples!