package {{.pkgName}} import ( {{.imports}} "net/http" ) type {{.logic}} struct { ctx context.Context svcCtx *svc.ServiceContext r *http.Request } func New{{.logic}}(r *http.Request, ctx context.Context, svcCtx *svc.ServiceContext) *{{.logic}} { return &{{.logic}}{ r: r, ctx: ctx, svcCtx: svcCtx, } } func (l *{{.logic}}) {{.function}}({{.request}}) {{.responseType}} { // todo: add your logic here and delete this line {{.returnString}} }