forked from mirror/pkger
Merge pull request #69 from hnnsgstfssn/add-generated-code-disclaimer
Add generated code disclaimer
This commit is contained in:
commit
defb2921c0
|
@ -147,6 +147,7 @@ func Package(info here.Info, out string, decls parser.Decls) error {
|
||||||
name = "main"
|
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, "package %s\n\n", name)
|
||||||
fmt.Fprintf(f, "import (\n\t\"github.com/markbates/pkger\"\n\t")
|
fmt.Fprintf(f, "import (\n\t\"github.com/markbates/pkger\"\n\t")
|
||||||
fmt.Fprintf(f, "\"github.com/markbates/pkger/pkging/mem\"\n)\n\n")
|
fmt.Fprintf(f, "\"github.com/markbates/pkger/pkging/mem\"\n)\n\n")
|
||||||
|
|
Loading…
Reference in New Issue