Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ikawaha committed Jun 6, 2019
1 parent f498a16 commit a8b9a22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions http/codegen/service_data.go
Expand Up @@ -610,7 +610,7 @@ func (svc *ServiceData) Endpoint(name string) *EndpointData {
return nil
}

func newHTTPServiceData(svc *service.Data) *ServiceData{
func newHTTPServiceData(svc *service.Data) *ServiceData {
// 'c' is reserved as the client's receiver name.
scope := codegen.NewNameScope()
scope.Unique("c")
Expand All @@ -629,7 +629,6 @@ func newHTTPServiceData(svc *service.Data) *ServiceData{
}
}


// analyze creates the data necessary to render the code of the given service.
// It records the user types needed by the service definition in userTypes.
func (d ServicesData) analyze(hs *expr.HTTPServiceExpr) *ServiceData {
Expand Down

0 comments on commit a8b9a22

Please sign in to comment.