Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator 服务代码生成器
type GeneratorOptions ¶
type GeneratorOptions struct {
OutputPath string
ProjectModule string
ProjectName string
ServiceName string
Servers []string
DbClients []string
GenerateServer bool
GenerateService bool
GenerateData bool
GenerateMain bool
GenerateMakefile bool
GenerateConfigs bool
}
GeneratorOptions 保存代码生成器的选项。
func (GeneratorOptions) HasBFFService ¶
func (o GeneratorOptions) HasBFFService() bool
HasBFFService checks whether the BFF (Backend For Frontend) service is included in the generator options.
Click to show internal directories.
Click to hide internal directories.