From 92985a8245d73a30eebc07c7924362a0269147fe Mon Sep 17 00:00:00 2001 From: Li2CO3 Date: Fri, 1 Nov 2024 16:01:14 +0800 Subject: [PATCH] fix: fix again (#238) --- generator/golang/templates/ref/ref_tpl.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generator/golang/templates/ref/ref_tpl.go b/generator/golang/templates/ref/ref_tpl.go index 376a19e..85f6459 100644 --- a/generator/golang/templates/ref/ref_tpl.go +++ b/generator/golang/templates/ref/ref_tpl.go @@ -97,6 +97,8 @@ type {{$ProcessorName}} = {{$RefPackage}}.{{$ProcessorName}} var New{{$ProcessorName}} = {{$RefPackage}}.New{{$ProcessorName}} +type {{$ClientName}} = {{$RefPackage}}.{{$ClientName}} + var New{{$ClientName}} = {{$RefPackage}}.New{{$ClientName}} var New{{$ClientName}}Factory = {{$RefPackage}}.New{{$ClientName}}Factory