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
Details for go-snapcraft-part
Package name
go-snapcraft-part
License
unset
Last updated
8 December 2020 - latest/edge
This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.
Enable snaps on Ubuntu and install go-snapcraft-part
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.
Alternatively, snapd can be installed from the command line:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
Install go-snapcraft-part
To install go-snapcraft-part, simply use the following command: