Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize: remove useless tpl #185

Closed

Conversation

HeyJavaBean
Copy link
Member

Description

remove useless tpl

Motivation and Context

Related Issue

@HeyJavaBean HeyJavaBean requested review from a team as code owners April 8, 2024 07:42
@HeyJavaBean HeyJavaBean force-pushed the optimize/simplifiy_code branch from 89937b8 to 58b5be9 Compare April 8, 2024 07:44

{{- UseStdLibrary "context"}}
func (p *{{$ProcessName}}) Process(ctx context.Context, seqId int32, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException) {
{{if .Streaming.IsStreaming -}}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

processor 用不到了,streaming 的应该也不会走到这里?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant