Install latest/edge of go-snapcraft-part
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install go-snapcraft-part --edge
Don't have snapd? Get set up for snaps.
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software. . This snapcraft part allows to build programs written in go. . Usage: Add "after: [go]" to your part written in go. This will use the latest go from the master branch to compile your program. . If you want to specify a go version, also add a go part with the version as the source-tag value. For example, to use go 1.11.6, use: parts: my-go-program: ... after: [go] go: source-tag: go1.11.6
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.