You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
315 B
Smarty

package {{.packageName}}
import (
"context"
{{.imports}}
)
type {{.logicName}} struct {
ctx context.Context
svcCtx *svc.ServiceContext
}
func New{{.logicName}}(ctx context.Context,svcCtx *svc.ServiceContext) *{{.logicName}} {
return &{{.logicName}}{
ctx: ctx,
svcCtx: svcCtx,
}
}
{{.functions}}