cmd

package
v0.0.0-...-f5dcb26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MigrateCmd = &cobra.Command{
	Use:   "migrate",
	Short: "it will migrate the database",
	Run: func(cmd *cobra.Command, args []string) {
		Migration()
	},
}
View Source
var SeedCmd = &cobra.Command{
	Use:   "seed",
	Short: "it will seed the database",
	Run: func(cmd *cobra.Command, args []string) {
		Seed()
	},
}
View Source
var ServeCmd = &cobra.Command{
	Use:   "serve",
	Short: "this command will serve the app",
	Run: func(cmd *cobra.Command, args []string) {
		Serve()
	},
}

Functions

func Execute

func Execute()

func Migration

func Migration()

func Seed

func Seed()

func Serve

func Serve()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL