add swagger

This commit is contained in:
yanghao05
2023-06-09 14:32:21 +08:00
parent 37bf456102
commit 3f27dee0b2
23 changed files with 245 additions and 89 deletions

View File

@@ -29,7 +29,7 @@ type GenQueryGenerator struct {
func withModelCommand(rootCmd *cobra.Command) *cobra.Command {
// modelCmd represents the gen command
var modelCmd = &cobra.Command{
modelCmd := &cobra.Command{
Use: "model",
Short: "gorm model&query generator",
Long: `gorm model&query generator. more info, see https://gorm.io/gen`,