mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
add command gen service for cli
This commit is contained in:
@ -24,7 +24,7 @@ type (
|
||||
cGenServiceOutput struct{}
|
||||
)
|
||||
|
||||
func (c cGen) Service(ctx context.Context, in cGenServiceInput) (out *cGenPbOutput, err error) {
|
||||
func (c cGen) Service(ctx context.Context, in cGenServiceInput) (out *cGenServiceOutput, err error) {
|
||||
in.Logic = gstr.Trim(in.Logic, `\/`)
|
||||
in.WatchFile = gstr.Trim(in.WatchFile, `\/`)
|
||||
if !gfile.Exists(in.Logic) {
|
||||
|
||||
Reference in New Issue
Block a user