gouick/cmd/generateDB.go
Matthieu 'JP' DERASSE 5f4e7e5be6
All checks were successful
continuous-integration/drone/push Build is passing
fix(global): Multiple small fixes and upgrade of go + goswagger
2022-11-21 18:40:39 +00:00

24 lines
476 B
Go

/*
Copyright © 2022 Matthieu Derasse <git@derasse.fr>
*/
package cmd
import (
"github.com/spf13/cobra"
)
// dbCmd represents the db command.
var dbCmd = &cobra.Command{
Use: "db",
Short: "Generate Database Struct from pkg/dbmodels/schema.yaml",
Run: runGenerateDB,
}
func init() {
generateCmd.AddCommand(dbCmd)
}
// runGenerateDB will generate database models, db connector, ... for the current project.
func runGenerateDB(cmd *cobra.Command, args []string) {
}