create

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppRoot = "domain"

	TemplateDir     = "../../template"
	AuthTemplateDir = "../../template/auths"

	ServiceDir     = "service"
	EntityDir      = "entity"
	RepositoryDir  = "repository"
	PersistenceDir = "infrastructure/persistence"
)

Variables

View Source
var AppName string
View Source
var Create = &cobra.Command{
	Use:  "create",
	Args: cobra.MinimumNArgs(2),
	RunE: Run,
}

Functions

func ApplyMigrations

func ApplyMigrations(cmd *cobra.Command, args []string) error

func CreateProgressBar

func CreateProgressBar(description string) *progressbar.ProgressBar

func DatabaseConfig

func DatabaseConfig() error

func Lower

func Lower(name string) string

func MigrationCreate

func MigrationCreate(cmd *cobra.Command, args []string) error

func MigrationWithSeederCreate

func MigrationWithSeederCreate(cmd *cobra.Command, args []string) error

func Module

func Module(cmd *cobra.Command, args []string) error

func ModuleWithMS

func ModuleWithMS(cmd *cobra.Command, args []string) error

func Plural

func Plural(name string) string

func Run

func Run(cmd *cobra.Command, args []string) error

func RunApiDocs

func RunApiDocs(cmd *cobra.Command, args []string) error

func RunApp

func RunApp(cmd *cobra.Command, args []string) error

func RunSeeders

func RunSeeders(cmd *cobra.Command, args []string) error

func ScaffoldApp

func ScaffoldApp(cmd *cobra.Command, arg []string) error

func SeederCreate

func SeederCreate(cmd *cobra.Command, args []string) error

func Singular

func Singular(name string) string

func Title

func Title(name string) string

func UpperCamelCase

func UpperCamelCase(name string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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