From a14e76a65c4ebf0bc3781203935e888892152be6 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Mon, 11 Jul 2016 22:59:55 -0600 Subject: [PATCH] chore(*): add canonical import path annotation https://golang.org/doc/go1.4#canonicalimports --- cmd/helm/helm.go | 2 +- cmd/tiller/tiller.go | 2 +- pkg/chartutil/doc.go | 2 +- pkg/client/install.go | 2 +- pkg/engine/doc.go | 2 +- pkg/helm/client.go | 2 +- pkg/ignore/doc.go | 2 +- pkg/kube/client.go | 2 +- pkg/lint/lint.go | 2 +- pkg/lint/rules/chartfile.go | 2 +- pkg/lint/support/doc.go | 2 +- pkg/repo/repo.go | 2 +- pkg/storage/doc.go | 2 +- pkg/timeconv/doc.go | 2 +- pkg/version/version.go | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/cmd/helm/helm.go b/cmd/helm/helm.go index e2a39c48b..00cd3937e 100644 --- a/cmd/helm/helm.go +++ b/cmd/helm/helm.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package main +package main // import "k8s.io/helm/cmd/helm" import ( "errors" diff --git a/cmd/tiller/tiller.go b/cmd/tiller/tiller.go index 3fdb86b6e..3a429169d 100644 --- a/cmd/tiller/tiller.go +++ b/cmd/tiller/tiller.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package main +package main // import "k8s.io/helm/cmd/tiller" import ( "fmt" diff --git a/pkg/chartutil/doc.go b/pkg/chartutil/doc.go index 09f4d4f5d..b03109a3b 100644 --- a/pkg/chartutil/doc.go +++ b/pkg/chartutil/doc.go @@ -41,4 +41,4 @@ into a Chart. When creating charts in memory, use the 'k8s.io/helm/pkg/proto/happy/chart' package directly. */ -package chartutil +package chartutil // import "k8s.io/helm/pkg/chartutil" diff --git a/pkg/client/install.go b/pkg/client/install.go index 9d088cfab..10d216b0d 100644 --- a/pkg/client/install.go +++ b/pkg/client/install.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package client +package client // import "k8s.io/helm/pkg/client" import ( "bytes" diff --git a/pkg/engine/doc.go b/pkg/engine/doc.go index 8407bf209..53c4084b0 100644 --- a/pkg/engine/doc.go +++ b/pkg/engine/doc.go @@ -20,4 +20,4 @@ Tiller provides a simple interface for taking a Chart and rendering its template The 'engine' package implements this interface using Go's built-in 'text/template' package. */ -package engine +package engine // import "k8s.io/helm/pkg/engine" diff --git a/pkg/helm/client.go b/pkg/helm/client.go index 91fd1923c..a815cf5f6 100644 --- a/pkg/helm/client.go +++ b/pkg/helm/client.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package helm +package helm // import "k8s.io/helm/pkg/helm" import ( "google.golang.org/grpc" diff --git a/pkg/ignore/doc.go b/pkg/ignore/doc.go index 6cb4dcdb6..7281c33a9 100644 --- a/pkg/ignore/doc.go +++ b/pkg/ignore/doc.go @@ -64,4 +64,4 @@ Notable differences from .gitignore: - The evaluation of escape sequences has not been tested for compatibility - There is no support for '\!' as a special leading sequence. */ -package ignore +package ignore // import "k8s.io/helm/pkg/ignore" diff --git a/pkg/kube/client.go b/pkg/kube/client.go index 7618f89c4..f589cc75a 100644 --- a/pkg/kube/client.go +++ b/pkg/kube/client.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package kube +package kube // import "k8s.io/helm/pkg/kube" import ( "fmt" diff --git a/pkg/lint/lint.go b/pkg/lint/lint.go index ea723b2f0..7903d215c 100644 --- a/pkg/lint/lint.go +++ b/pkg/lint/lint.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package lint +package lint // import "k8s.io/helm/pkg/lint" import ( "path/filepath" diff --git a/pkg/lint/rules/chartfile.go b/pkg/lint/rules/chartfile.go index b8b0e2d10..8763af0de 100644 --- a/pkg/lint/rules/chartfile.go +++ b/pkg/lint/rules/chartfile.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package rules +package rules // import "k8s.io/helm/pkg/lint/rules" import ( "errors" diff --git a/pkg/lint/support/doc.go b/pkg/lint/support/doc.go index c843f6468..4cf7272e4 100644 --- a/pkg/lint/support/doc.go +++ b/pkg/lint/support/doc.go @@ -19,4 +19,4 @@ limitations under the License. Linting is the process of testing charts for errors or warnings regarding formatting, compilation, or standards compliance. */ -package support +package support // import "k8s.io/helm/pkg/lint/support" diff --git a/pkg/repo/repo.go b/pkg/repo/repo.go index b113629f2..ebc79f2c4 100644 --- a/pkg/repo/repo.go +++ b/pkg/repo/repo.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package repo +package repo // import "k8s.io/helm/pkg/repo" import ( "crypto/sha1" diff --git a/pkg/storage/doc.go b/pkg/storage/doc.go index 9c191381b..9a4027923 100644 --- a/pkg/storage/doc.go +++ b/pkg/storage/doc.go @@ -20,4 +20,4 @@ Tiller stores releases (see 'cmd/tiller/environment'.Environment). The backend storage mechanism may be implemented with different backends. This package and its subpackages provide storage layers for Tiller objects. */ -package storage +package storage // import "k8s.io/helm/pkg/storage" diff --git a/pkg/timeconv/doc.go b/pkg/timeconv/doc.go index 8e022bd00..235167391 100644 --- a/pkg/timeconv/doc.go +++ b/pkg/timeconv/doc.go @@ -20,4 +20,4 @@ The gRPC/Protobuf libraries contain time implementations that require conversion to and from Go times. This library provides utilities and convenience functions for performing conversions. */ -package timeconv +package timeconv // import "k8s.io/helm/pkg/timeconv" diff --git a/pkg/version/version.go b/pkg/version/version.go index ceffa63d1..128b9a468 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -15,7 +15,7 @@ limitations under the License. */ // Package version represents the current version of the project. -package version +package version // import "k8s.io/helm/pkg/version" // Version is the current version of the Helm. // Update this whenever making a new release.