dto

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRunnerNotImplemented = errors.New("runner not implemented")
	ErrDirMustBeFolder      = errors.New("dir must be folder")
	ErrDomainNotFound       = errors.New("domain not found")
	ErrServiceNotFound      = errors.New("service not found")
	ErrInvalidInstanceName  = errors.New("invalid instance name")
	ErrInvalidPkgName       = errors.New("invalid pkg name")
	ErrInvalidCmdName       = errors.New("invalid cmd name")
	ErrTemplateCanNotParsed = errors.New("template can not parsed")
)

Functions

This section is empty.

Types

type CreateApplicationParams

type CreateApplicationParams struct {
	TargetDomain    string
	StructName      string
	PackageName     string
	PortParam       string
	AssertInterface bool
}

type CreateDomainParams

type CreateDomainParams struct {
	DomainName string
}

type CreateEntryPointParams

type CreateEntryPointParams struct {
	PackageName string
}

type CreateInfraParams

type CreateInfraParams struct {
	StructName      string
	PackageName     string
	PortParam       string
	AssertInterface bool
}

type CreatePackageParams

type CreatePackageParams struct {
	StructName      string
	PackageName     string
	PortParam       string
	AssertInterface bool
	IsGlobal        bool
}

type CreateServiceParams

type CreateServiceParams struct {
	TargetDomain    string
	StructName      string
	PackageName     string
	PortParam       string
	AssertInterface bool
}

type DoctorResult

type DoctorResult struct {
	OSResult   string
	GoResult   string
	ImplResult string
}

type ErrFormatGoFile

type ErrFormatGoFile struct {
	Message string
}

func (ErrFormatGoFile) Error

func (e ErrFormatGoFile) Error() string

type ErrInitGoModule

type ErrInitGoModule struct {
	Message string
}

func (ErrInitGoModule) Error

func (e ErrInitGoModule) Error() string

type ErrTemplateCanNotExecute

type ErrTemplateCanNotExecute struct {
	Message string
}

func (ErrTemplateCanNotExecute) Error

func (e ErrTemplateCanNotExecute) Error() string

type InitNewProjectParams

type InitNewProjectParams struct {
	ProjectDirectory string
	ModuleName       string
	CreateModule     bool
}

Jump to

Keyboard shortcuts

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