From a989ee42359cce4925d4e65f2165523d086e32c2 Mon Sep 17 00:00:00 2001 From: akutz Date: Thu, 24 Aug 2017 16:12:34 -0500 Subject: [PATCH] Dep Support This patch fixes issue #91 by adding support for the official Go dependency tool, Dep. The solution is a nearly-empty Go source file at "lib/go/csi.go" that defines a package with no functional code. However, this package will enable the ability to nil-import "github.com/container-storage-interface/spec/lib/go" so that the Dep tool discovers a valid Go package (a directory with one or more Go sources in it). For information on why the resolution is not to simply import "github.com/container-storage-interface/spec/lib/go/csi" please see issue #91. --- lib/go/csi.go | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 lib/go/csi.go diff --git a/lib/go/csi.go b/lib/go/csi.go new file mode 100644 index 00000000..33826d5d --- /dev/null +++ b/lib/go/csi.go @@ -0,0 +1,5 @@ +// Package csi is the Container Storage Interface (CSI) specification +// repository. This package contains no functional code, and this file +// exists only to make it possible to import this repository with a Go +// dependency manager such as Dep (https://github.com/golang/dep). +package csi