domaingen

package
v0.0.0-...-4f71f7c Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeDomainFolderOnlyCreation = "DomainFolderOnlyCreation"
	TypeDomainFullCreation       = "DomainFullCreation"
)
View Source
const (
	TypeSingleDomain = "Singledomain"
	TypeMultiDomain  = "Multidomain"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainCreationalType

type DomainCreationalType int
const (
	DomainFolderOnlyCreation DomainCreationalType = iota + 1
	DomainFullCreation
)

func NewDomainCreationalType

func NewDomainCreationalType(t string) DomainCreationalType

type DomainDto

type DomainDto struct {
	Name                 string
	Path                 string
	ProjectPath          string
	GomodName            string
	DomainCreationalType DomainCreationalType
	DomainType           DomainType
}

type DomainGen

type DomainGen interface {
	repositorygen.RepositoryGen
	servicegen.ServiceGen
	dtogen.DtoGen
	entitygen.EntityGen
	CreateDomain(dto DomainDto) error
	// contains filtered or unexported methods
}

type DomainGenImpl

type DomainGenImpl struct {
	*repositorygen.RepositoryGenImpl
	*servicegen.ServiceGenImpl
	*dtogen.DtoGenImpl
	*entitygen.EntityGenImpl
	// contains filtered or unexported fields
}

func NewDomainGen

func NewDomainGen(
	fs database.FileSystem,
	moduleGen modulegen.ModuleGen,
	protocolGen protocolgen.ProtocolGen,
	wireGen wiregen.WireGen,
	emptyGen emptygen.EmptyGen,
) *DomainGenImpl

func (DomainGenImpl) CreateDomain

func (s DomainGenImpl) CreateDomain(dto DomainDto) error

type DomainType

type DomainType int
const (
	SingleDomain DomainType = iota
	MultiDomain
)

func NewDomainType

func NewDomainType(t string) DomainType

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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