Documentation ¶
Index ¶
- Constants
- Variables
- func ApplyMigrations(cmd *cobra.Command, args []string) error
- func CreateProgressBar(description string) *progressbar.ProgressBar
- func DatabaseConfig() error
- func Lower(name string) string
- func MigrationCreate(cmd *cobra.Command, args []string) error
- func MigrationWithSeederCreate(cmd *cobra.Command, args []string) error
- func Module(cmd *cobra.Command, args []string) error
- func ModuleWithMS(cmd *cobra.Command, args []string) error
- func Plural(name string) string
- func Run(cmd *cobra.Command, args []string) error
- func RunApiDocs(cmd *cobra.Command, args []string) error
- func RunApp(cmd *cobra.Command, args []string) error
- func RunSeeders(cmd *cobra.Command, args []string) error
- func ScaffoldApp(cmd *cobra.Command, arg []string) error
- func SeederCreate(cmd *cobra.Command, args []string) error
- func Singular(name string) string
- func Title(name string) string
- func UpperCamelCase(name string) string
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 CreateProgressBar ¶
func CreateProgressBar(description string) *progressbar.ProgressBar
func DatabaseConfig ¶
func DatabaseConfig() error
func UpperCamelCase ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.