A simple Gulp plugin for testing, building, and installing Go programs.
npm install node-gotool
Import the module
var go = require('gotool');
Test a package.
go.test('pkg');
Test multiple packages.
go.test(['pkg1', 'pkg2']);
Test all packages within a directory
go.test('pkg/...');
Install a package.
go.install('pkg');
Install multiple packages.
go.install(['pkg1', 'pkg2']);
Install all packages within a directory
go.install('pkg/...');
Build a prsogram.
go.build('programdir', 'binarylocation');