From b7674744eeb5b2c76726068ad2e5f070c8c15c7d Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Fri, 10 Jun 2016 12:40:58 -0700 Subject: [PATCH] *: don't let generated comment become package comment --- cmd/genconfig/main.go | 1 + connector/config.go | 1 + email/config.go | 1 + 3 files changed, 3 insertions(+) diff --git a/cmd/genconfig/main.go b/cmd/genconfig/main.go index 4767dac6..560444fc 100644 --- a/cmd/genconfig/main.go +++ b/cmd/genconfig/main.go @@ -18,6 +18,7 @@ const tmpl = `// DO NOT EDIT: This file was auto-generated by "go generate" // To regenerate run: // go install github.com/coreos/dex/cmd/genconfig // go generate <> + package __PKG__ import ( diff --git a/connector/config.go b/connector/config.go index 9fd7f284..fef31f65 100644 --- a/connector/config.go +++ b/connector/config.go @@ -2,6 +2,7 @@ // To regenerate run: // go install github.com/coreos/dex/cmd/genconfig // go generate <> + package connector import ( diff --git a/email/config.go b/email/config.go index 7d5eecc9..9d376da9 100644 --- a/email/config.go +++ b/email/config.go @@ -2,6 +2,7 @@ // To regenerate run: // go install github.com/coreos/dex/cmd/genconfig // go generate <> + package email import (