diff --git a/cmd/generate.go b/cmd/generate.go index 3d0b502..b58e1fd 100644 --- a/cmd/generate.go +++ b/cmd/generate.go @@ -36,7 +36,7 @@ func generate(scheamPath, outDir string) error { // schema.go will hold all tables info var sb strings.Builder - sb.WriteString("// Generated by code.patial.tech/go/pgm/cmd. DO NOT EDIT.\n\n") + sb.WriteString("// Code generated by code.patial.tech/go/pgm/cmd DO NOT EDIT.\n\n") sb.WriteString(fmt.Sprintf("package %s \n", filepath.Base(outDir))) sb.WriteString(` import "code.patial.tech/go/pgm" @@ -91,7 +91,7 @@ func generate(scheamPath, outDir string) error { func writeColFile(tblName string, cols []*Column, outDir string, caser cases.Caser) error { var sb strings.Builder - sb.WriteString("// Generated by code.patial.tech/go/pgm/cmd. DO NOT EDIT.\n\n") + sb.WriteString("// Code generated by code.patial.tech/go/pgm/cmd DO NOT EDIT.\n\n") sb.WriteString(fmt.Sprintf("package %s\n\n", filepath.Base(outDir))) sb.WriteString(fmt.Sprintf("import %q\n\n", "code.patial.tech/go/pgm")) sb.WriteString("const (")