Move plugin registration to separate package

Only compile in plugin support on non-windows 1.8.
Re-enable go 1.7.x tests.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan
2017-03-06 17:23:00 -08:00
parent a7cb5a783c
commit 0b44e24c07
8 changed files with 81 additions and 61 deletions

8
plugin/plugin_other.go Normal file
View File

@@ -0,0 +1,8 @@
// +build !go1.8 windows
package plugin
func loadPlugins(path string) error {
// plugins not supported until 1.8
return nil
}