Skip to content

Commit

Permalink
Remove unused methods on tchannel test server handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuntao Lu committed Apr 26, 2017
1 parent 2ffc999 commit a51cd6f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 61 deletions.
12 changes: 1 addition & 11 deletions codegen/template_bundle/template_files.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions codegen/templates/tchannel_client_test_server.tmpl
Expand Up @@ -41,16 +41,6 @@ type {{$handler}} struct {
{{$privateName}} {{$func}}
}

// Service returns the service name.
func (h *{{$handler}}) Service() string {
return "{{$svc.Name}}"
}

// Method returns the method name.
func (h *{{$handler}}) Method() string {
return "{{.Name}}"
}

// Handle parses request from wire value and calls corresponding handler function.
func (h *{{$handler}}) Handle(
ctx context.Context,
Expand Down
40 changes: 0 additions & 40 deletions examples/example-gateway/build/clients/baz/baz_test_server.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a51cd6f

Please sign in to comment.