From f700f3e891b1efdb931102c9a63c7f8c543e9c59 Mon Sep 17 00:00:00 2001 From: Ankit Patial Date: Sat, 26 Jul 2025 20:22:16 +0530 Subject: [PATCH] refactor, generator comment change --- cmd/generate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 (")