feat: add features

This commit is contained in:
Rogee
2024-11-29 20:28:37 +08:00
parent 3d7ee40a7a
commit d1a2a80859
8 changed files with 337 additions and 22 deletions

View File

@@ -13,6 +13,7 @@ import (
"github.com/go-jet/jet/v2/generator/postgres"
"github.com/go-jet/jet/v2/generator/template"
pg "github.com/go-jet/jet/v2/postgres"
"github.com/gofiber/fiber/v3/log"
_ "github.com/lib/pq"
"github.com/samber/lo"
"github.com/spf13/cobra"
@@ -117,6 +118,7 @@ func Serve(cmd *cobra.Command, args []string) error {
ImportPath: splits[0],
})
log.Infof("Convert table %s field %s type to : %s", table.Name, column.Name, toType)
return defaultTableModelField
})
}),