scaffold

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Templates embed.FS

Functions

func DomainCmd

func DomainCmd() *cobra.Command

DomainCmd returns the cobra command for domain generation.

func EntityCmd

func EntityCmd() *cobra.Command

EntityCmd returns the cobra command for entity generation.

func MicroserviceCmd

func MicroserviceCmd() *cobra.Command

MicroserviceCmd returns the cobra command for microservice generation.

func RepositoryCmd

func RepositoryCmd() *cobra.Command

RepositoryCmd returns the cobra command for repository generation.

func ServiceCmd

func ServiceCmd() *cobra.Command

ServiceCmd returns the cobra command for service generation.

Types

type DomainOptions

type DomainOptions struct {
	Domain     string
	Features   string
	ModuleName string
	Force      bool
}

DomainOptions holds all the options for domain generation.

type EntityOptions

type EntityOptions struct {
	Domain     string
	EntityName string
	Features   string
	ModuleName string
	Force      bool
}

EntityOptions holds all the options for entity generation.

type MicroserviceOptions

type MicroserviceOptions struct {
	Name        string
	Domain      string
	Features    string
	Template    string
	Output      string
	Port        int
	MetricsPort int
	ModuleName  string
	Force       bool
}

MicroserviceOptions holds all the options for microservice generation.

type RepositoryOptions

type RepositoryOptions struct {
	Domain         string
	RepositoryName string
	EntityName     string
	ModuleName     string
	Force          bool
}

RepositoryOptions holds all the options for repository generation.

type ServiceOptions

type ServiceOptions struct {
	Domain      string
	ServiceName string
	ModuleName  string
	Force       bool
}

ServiceOptions holds all the options for service generation.

Jump to

Keyboard shortcuts

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