Add canonical import paths

Should warn if not using the vanity alias (k8s.io/kops) for an import.
This commit is contained in:
Justin Santa Barbara 2016-11-03 23:46:27 -04:00
parent bd2134912b
commit e4423050c5
3 changed files with 3 additions and 3 deletions

View File

@ -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/kops/cmd/kops"
import (
"fmt"

View File

@ -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/kops/cmd/nodeup"
import (
"flag"

2
doc.go
View File

@ -15,4 +15,4 @@ limitations under the License.
*/
// Package kops is the parent package for the kops kubernetes-ops tool..
package kops
package kops // import "k8s.io/kops"