Skip to content

Commit

Permalink
Regenerate use latest goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuntao Lu committed Oct 16, 2018
1 parent cf633f6 commit 83953a8
Show file tree
Hide file tree
Showing 111 changed files with 226 additions and 409 deletions.
3 changes: 1 addition & 2 deletions codegen/test_data/clients/bar.gogen
Expand Up @@ -31,11 +31,10 @@ import (
"time"

"github.com/pkg/errors"
zanzibar "github.com/uber/zanzibar/runtime"

module "github.com/uber/zanzibar/.tmp_gen/clients/bar/module"
clientsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/clients/bar/bar"
clientsFooFoo "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/clients/foo/foo"
zanzibar "github.com/uber/zanzibar/runtime"
)

// Client defines bar client interface.
Expand Down
8 changes: 3 additions & 5 deletions codegen/test_data/endpoints/bar_bar_method_argnotstruct.gogen
Expand Up @@ -30,14 +30,12 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
)

// BarArgNotStructHandler is the handler for "/bar/arg-not-struct-path"
Expand Down
Expand Up @@ -31,15 +31,13 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/thriftrw/ptr"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
)

// BarArgWithHeadersHandler is the handler for "/bar/argWithHeaders"
Expand Down
Expand Up @@ -31,15 +31,13 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/thriftrw/ptr"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
)

// BarArgWithManyQueryParamsHandler is the handler for "/bar/argWithManyQueryParams"
Expand Down
Expand Up @@ -31,15 +31,13 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/thriftrw/ptr"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
)

// BarArgWithNestedQueryParamsHandler is the handler for "/bar/argWithNestedQueryParams"
Expand Down
Expand Up @@ -31,14 +31,12 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
)

// BarArgWithParamsHandler is the handler for "/bar/argWithParams/:uuid/segment/:user-uuid"
Expand Down
Expand Up @@ -31,15 +31,13 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/thriftrw/ptr"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
)

// BarArgWithQueryHeaderHandler is the handler for "/bar/argWithQueryHeader"
Expand Down
Expand Up @@ -31,15 +31,13 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/thriftrw/ptr"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
)

// BarArgWithQueryParamsHandler is the handler for "/bar/argWithQueryParams"
Expand Down
8 changes: 3 additions & 5 deletions codegen/test_data/endpoints/bar_bar_method_helloworld.gogen
Expand Up @@ -30,14 +30,12 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
)

// BarHelloWorldHandler is the handler for "/bar/hello"
Expand Down
8 changes: 3 additions & 5 deletions codegen/test_data/endpoints/bar_bar_method_missingarg.gogen
Expand Up @@ -29,14 +29,12 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
)

// BarMissingArgHandler is the handler for "/bar/missing-arg-path"
Expand Down
8 changes: 3 additions & 5 deletions codegen/test_data/endpoints/bar_bar_method_norequest.gogen
Expand Up @@ -29,14 +29,12 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
)

// BarNoRequestHandler is the handler for "/bar/no-request-path"
Expand Down
11 changes: 4 additions & 7 deletions codegen/test_data/endpoints/bar_bar_method_normal.gogen
Expand Up @@ -31,16 +31,13 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"

"github.com/uber/zanzibar/examples/example-gateway/middlewares/example"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
)

// BarNormalHandler is the handler for "/bar/bar-path"
Expand Down
10 changes: 4 additions & 6 deletions codegen/test_data/endpoints/bar_bar_method_toomanyargs.gogen
Expand Up @@ -31,15 +31,13 @@ import (

"github.com/opentracing/opentracing-go"
"github.com/pkg/errors"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
workflow "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/workflow"
endpointsBarBar "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/bar/bar"
endpointsFooFoo "github.com/uber/zanzibar/examples/example-gateway/build/gen-code/endpoints/foo/foo"

module "github.com/uber/zanzibar/.tmp_gen/endpoints/bar/module"
zanzibar "github.com/uber/zanzibar/runtime"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
)

// BarTooManyArgsHandler is the handler for "/bar/too-many-args-path"
Expand Down
3 changes: 1 addition & 2 deletions examples/example-gateway/build/clients/bar/bar.go

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

6 changes: 2 additions & 4 deletions examples/example-gateway/build/clients/baz/baz.go

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

5 changes: 2 additions & 3 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.

3 changes: 1 addition & 2 deletions examples/example-gateway/build/clients/contacts/contacts.go

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

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

6 changes: 2 additions & 4 deletions examples/example-gateway/build/clients/corge/corge.go

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

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

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

3 changes: 1 addition & 2 deletions examples/example-gateway/build/clients/multi/multi.go

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

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

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

0 comments on commit 83953a8

Please sign in to comment.