buildproto

package
v0.0.0-...-c47cd45 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MulanPSL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProtoPath = "D:/go-ichub/go/gowebcode/code/mysql/db/gorpc/proto"

Functions

func InjectPbCmd

func InjectPbCmd(s *PbCmd)

func InjectProro2GoFactroy

func InjectProro2GoFactroy(s *Proto2goFactroy)

func InjectProtoFactroy

func InjectProtoFactroy(s *ProtoFactroy)

func LoadPbCmd

func LoadPbCmd() baseiface.ISingleton

func LoadProro2GoFactroy

func LoadProro2GoFactroy() baseiface.ISingleton

func LoadProtoFactroy

func LoadProtoFactroy() baseiface.ISingleton

Types

type PbCmd

type PbCmd struct {
	basedto.BaseEntitySingle
	Cmd string

	CmdPath   string
	ProtoPath string //= "D:/go-ichub/go/gowebcode/code/mysql/db/gorpc/proto"
	// contains filtered or unexported fields
}

func FindBeanPbCmd

func FindBeanPbCmd() *PbCmd

func NewPbCmd

func NewPbCmd() *PbCmd

func (*PbCmd) Exec

func (self *PbCmd) Exec() error

type Proto2goFactroy

type Proto2goFactroy struct {
	basedto.BaseEntitySingle
	*strategy.BuildStrategy
}

@Title 文件名称: Proto2goFactroy.go @Description 描述: 代码工厂 Proto2goFactroy 工厂

@Author 作者: leijianming@163.com 时间(2024-01-31 22:38:21) @Update 作者: leijianming@163.com 时间(2024-01-31 22:38:21)

func FindBeanProto2GoFactroy

func FindBeanProto2GoFactroy() *Proto2goFactroy

func NewProto2GoFactroy

func NewProto2GoFactroy() *Proto2goFactroy

func (*Proto2goFactroy) Build

func (w *Proto2goFactroy) Build() *dto.TableFile

func (*Proto2goFactroy) BuildCode

func (w *Proto2goFactroy) BuildCode() string

func (*Proto2goFactroy) BuildFile1

func (model *Proto2goFactroy) BuildFile1() *dto.TableFile

func (*Proto2goFactroy) BuildPb

func (this *Proto2goFactroy) BuildPb() (*dto.TableFile, error)

func (*Proto2goFactroy) RmGenProto

func (this *Proto2goFactroy) RmGenProto() error

type ProtoFactroy

type ProtoFactroy struct {
	basedto.BaseEntitySingle
	*strategy.BuildStrategy
}

@Title 文件名称: Proto2goFactroy.go @Description 描述: 代码工厂 Proto2goFactroy 工厂

@Author 作者: leijianming@163.com 时间(2024-01-31 22:38:21) @Update 作者: leijianming@163.com 时间(2024-01-31 22:38:21)

func FindBeanProtoFactroy

func FindBeanProtoFactroy() *ProtoFactroy

func NewProtoFactroy

func NewProtoFactroy() *ProtoFactroy

func (*ProtoFactroy) Build

func (w *ProtoFactroy) Build() *dto.TableFile

func (*ProtoFactroy) BuildCode

func (w *ProtoFactroy) BuildCode() string

Jump to

Keyboard shortcuts

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