go 1.11 has added built in support to manage vendored dependencies.
Using go mod also allows mixer to be built if the source is outside
GOPATH.
Signed-off-by: Rodrigo Chiossi <rodrigo.chiossi@intel.com>
This reverts commit c6777502c8.
To make this automatically packageable through autospec we need to do
some more work. The travis environment also needs to be trimmed down to
speed up the build, and building the package should work without network
connection. In the current state, it will not satisfy both travis and
autospec, so reverting this until it can be properly transitioned.
go mod vendor cleans up the vendor directory to only keep what source
files are actually needed.
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
This means we can remove local gopath preparation from the Makefile and
will be using the officially sanctioned dependency management system for
Go. We have to leave the vendor directory so we can create the dist
tarball.
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>