godeps plugin can be used by godeps-enabled Go projects.
These projects have a file containing information about the project’s dependencies. This file is typically called “dependencies.tsv,” but may be named anything.
This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.
Additionally, this plugin uses the following plugin-specific keywords:
go-packages (list of strings)
Go packages to build/install. These packages must be a “main” package.
Dependencies should have already been retrieved by the
godeps-file used for this part.
Packages that are not “main” will not cause an error, but would not be useful either.
Path to the godeps dependencies file contained within the source (default: dependencies.tsv)
This entry tells the checked out
source to live within a certain path within
GOPATH. This is required in order to work with absolute imports and import path checking.
For examples, search GitHub for projects already using the plugin.
Last updated a month ago. Help improve this document in the forum.