dto

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 2 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")
	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")
	ErrAlreadyExist         = errors.New("already exist")
	ErrSuppressed           = errors.New("")
)

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   Tool
	ImplResult Tool
}

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 ErrInvalidPortName added in v0.1.0

type ErrInvalidPortName struct {
	PortName string
}

func (ErrInvalidPortName) Error added in v0.1.0

func (e ErrInvalidPortName) 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
}

type Tool added in v0.1.0

type Tool struct {
	IsInstalled bool
	Output      string
}

Jump to

Keyboard shortcuts

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