File tree Expand file tree Collapse file tree 6 files changed +12
-23
lines changed Expand file tree Collapse file tree 6 files changed +12
-23
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,12 @@ import (
25
25
"testing"
26
26
"time"
27
27
28
- "github.com/uber/tchannel-go/thrift"
29
-
30
- "go.uber.org/cadence/.gen/go/shared"
31
-
32
28
"github.com/golang/mock/gomock"
29
+ "github.com/stretchr/testify/suite"
30
+ "github.com/uber/tchannel-go/thrift"
33
31
34
32
"go.uber.org/cadence/.gen/go/cadence/workflowservicetest"
35
-
36
- "github.com/stretchr/testify/suite"
33
+ "go.uber.org/cadence/.gen/go/shared"
37
34
)
38
35
39
36
type (
Original file line number Diff line number Diff line change @@ -24,12 +24,11 @@ import (
24
24
"testing"
25
25
26
26
"github.com/stretchr/testify/assert"
27
+ apiv1 "github.com/uber/cadence-idl/go/proto/api/v1"
27
28
28
29
"go.uber.org/cadence/.gen/go/shared"
29
30
"go.uber.org/cadence/internal/compatibility/proto"
30
31
"go.uber.org/cadence/internal/compatibility/thrift"
31
-
32
- apiv1 "github.com/uber/cadence-idl/go/proto/api/v1"
33
32
)
34
33
35
34
const UnknownValue = 9999
Original file line number Diff line number Diff line change 21
21
package proto
22
22
23
23
import (
24
+ apiv1 "github.com/uber/cadence-idl/go/proto/api/v1"
24
25
"go.uber.org/yarpc/encoding/protobuf"
25
26
"go.uber.org/yarpc/yarpcerrors"
26
27
27
28
"go.uber.org/cadence/.gen/go/shared"
28
-
29
- apiv1 "github.com/uber/cadence-idl/go/proto/api/v1"
30
29
)
31
30
32
31
func Error (err error ) error {
Original file line number Diff line number Diff line change @@ -23,13 +23,12 @@ package thrift
23
23
import (
24
24
"errors"
25
25
26
+ apiv1 "github.com/uber/cadence-idl/go/proto/api/v1"
26
27
"go.uber.org/yarpc/encoding/protobuf"
27
28
"go.uber.org/yarpc/yarpcerrors"
28
29
29
30
"go.uber.org/cadence/.gen/go/shared"
30
31
"go.uber.org/cadence/internal/common"
31
-
32
- apiv1 "github.com/uber/cadence-idl/go/proto/api/v1"
33
32
)
34
33
35
34
func Error (err error ) error {
Original file line number Diff line number Diff line change @@ -29,19 +29,16 @@ import (
29
29
"testing"
30
30
"time"
31
31
32
+ "github.com/golang/mock/gomock"
33
+ "github.com/pborman/uuid"
34
+ "github.com/stretchr/testify/suite"
32
35
"go.uber.org/yarpc"
33
36
34
- "go.uber.org/cadence/internal/common/serializer"
35
-
36
37
"go.uber.org/cadence/.gen/go/cadence/workflowservicetest"
37
38
"go.uber.org/cadence/.gen/go/shared"
38
39
"go.uber.org/cadence/internal/common"
39
-
40
- "github.com/golang/mock/gomock"
41
- "github.com/pborman/uuid"
42
- "github.com/stretchr/testify/suite"
43
-
44
40
"go.uber.org/cadence/internal/common/metrics"
41
+ "go.uber.org/cadence/internal/common/serializer"
45
42
)
46
43
47
44
const (
Original file line number Diff line number Diff line change @@ -30,20 +30,18 @@ import (
30
30
"testing"
31
31
"time"
32
32
33
- "github.com/uber-go/tally"
34
-
35
- "go.uber.org/cadence/internal"
36
-
37
33
"github.com/pborman/uuid"
38
34
"github.com/stretchr/testify/require"
39
35
"github.com/stretchr/testify/suite"
36
+ "github.com/uber-go/tally"
40
37
"go.uber.org/goleak"
41
38
"go.uber.org/zap/zaptest"
42
39
43
40
"go.uber.org/cadence"
44
41
"go.uber.org/cadence/.gen/go/shared"
45
42
"go.uber.org/cadence/client"
46
43
"go.uber.org/cadence/interceptors"
44
+ "go.uber.org/cadence/internal"
47
45
"go.uber.org/cadence/worker"
48
46
"go.uber.org/cadence/workflow"
49
47
)
You can’t perform that action at this time.
0 commit comments