Documentation
¶
Index ¶
Constants ¶
View Source
const ( CGenPbConfig = `gfcli.gen.pb` CGenPbBrief = `parse proto files and generate protobuf go files` CGenPbEg = ` gf gen pb gf gen pb -p . -a . -p . ` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CGenPb ¶
type CGenPb struct{}
func (CGenPb) Pb ¶
func (c CGenPb) Pb(ctx context.Context, in CGenPbInput) (out *CGenPbOutput, err error)
type CGenPbInput ¶
type CGenPbInput struct { g.Meta `name:"pb" config:"{CGenPbConfig}" brief:"{CGenPbBrief}" eg:"{CGenPbEg}"` Path string `name:"path" short:"p" dc:"protobuf file folder path" d:"manifest/protobuf"` OutputApi string `name:"api" short:"a" dc:"output folder path storing generated go files of api" d:"api"` OutputCtrl string `name:"ctrl" short:"c" dc:"output folder path storing generated go files of controller" d:"internal/controller"` }
type CGenPbOutput ¶
type CGenPbOutput struct{}
Click to show internal directories.
Click to hide internal directories.