1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

fix(protoc-gen-go-http): return nil if err == nil。 ()

This commit is contained in:
kvii 2024-02-14 17:04:54 +08:00 committed by GitHub
parent c7fa51df7a
commit 9106991c09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -81,6 +81,6 @@ func (c *{{$svrType}}HTTPClientImpl) {{.Name}}(ctx context.Context, in *{{.Reque
if err != nil {
return nil, err
}
return &out, err
return &out, nil
}
{{end}}