Documentation ¶
Index ¶
- func Generate(gc config.GenConfig, genModule bool) error
- type DirContext
- func (d DirContext) GetCall() generator.Dir
- func (d DirContext) GetConfig() generator.Dir
- func (d DirContext) GetEtc() generator.Dir
- func (d DirContext) GetInternal() generator.Dir
- func (d DirContext) GetLogic() generator.Dir
- func (d DirContext) GetMain() generator.Dir
- func (d DirContext) GetPb() generator.Dir
- func (d DirContext) GetProtoGo() generator.Dir
- func (d DirContext) GetServer() generator.Dir
- func (d DirContext) GetServiceName() stringx.String
- func (d DirContext) GetSvc() generator.Dir
- func (d DirContext) SetPbDir(pbDir, grpcDir string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DirContext ¶
type DirContext struct { ImportBase string PbPackage string OptionGoPackage string Scope string Output string }
func (DirContext) GetCall ¶
func (d DirContext) GetCall() generator.Dir
func (DirContext) GetConfig ¶
func (d DirContext) GetConfig() generator.Dir
func (DirContext) GetEtc ¶
func (d DirContext) GetEtc() generator.Dir
func (DirContext) GetInternal ¶
func (d DirContext) GetInternal() generator.Dir
func (DirContext) GetLogic ¶
func (d DirContext) GetLogic() generator.Dir
func (DirContext) GetMain ¶
func (d DirContext) GetMain() generator.Dir
func (DirContext) GetPb ¶
func (d DirContext) GetPb() generator.Dir
func (DirContext) GetProtoGo ¶
func (d DirContext) GetProtoGo() generator.Dir
func (DirContext) GetServer ¶
func (d DirContext) GetServer() generator.Dir
func (DirContext) GetServiceName ¶
func (d DirContext) GetServiceName() stringx.String
func (DirContext) GetSvc ¶
func (d DirContext) GetSvc() generator.Dir
func (DirContext) SetPbDir ¶
func (d DirContext) SetPbDir(pbDir, grpcDir string)
Click to show internal directories.
Click to hide internal directories.