diff --git a/cmd/pkger/cmds/pack.go b/cmd/pkger/cmds/pack.go index 3961643..4b478eb 100644 --- a/cmd/pkger/cmds/pack.go +++ b/cmd/pkger/cmds/pack.go @@ -147,6 +147,7 @@ func Package(info here.Info, out string, decls parser.Decls) error { name = "main" } + fmt.Fprintf(f, "// Code generated by pkger; DO NOT EDIT.\n\n", name) fmt.Fprintf(f, "package %s\n\n", name) fmt.Fprintf(f, "import (\n\t\"github.com/markbates/pkger\"\n\t") fmt.Fprintf(f, "\"github.com/markbates/pkger/pkging/mem\"\n)\n\n")