Rename generated files to make them obvious

This commit is contained in:
Jeff Mitchell committed 2020-05-05 15:33:16 -04:00
1 parent 050b914447
commit 828fee20a1
10 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ var createFuncs = map[string][]*createInfo{
func writeCreateFuncs() {
for outPkg, funcs := range createFuncs {
outFile := os.Getenv("APIGEN_BASEPATH") + fmt.Sprintf("/api/%s/create.go", outPkg)
outFile := os.Getenv("APIGEN_BASEPATH") + fmt.Sprintf("/api/%s/create.gen.go", outPkg)
outBuf := bytes.NewBuffer([]byte(fmt.Sprintf(
`// Code generated by "make api"; DO NOT EDIT.
package %s