Skip to content

Commit

Permalink
fix thrift conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
wangfan committed Sep 25, 2019
1 parent 10121a7 commit b67c0f1
Show file tree
Hide file tree
Showing 89 changed files with 9,974 additions and 38 deletions.
2 changes: 1 addition & 1 deletion client/TalosClientFactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/XiaoMi/talos-sdk-golang/thrift/topic"
"github.com/XiaoMi/talos-sdk-golang/utils"

"git.apache.org/thrift.git/lib/go/thrift"
"github.com/XiaoMi/talos-sdk-golang/thrift/thrift"
)

//var log = utils.Instance
Expand Down
3 changes: 1 addition & 2 deletions client/TalosHttpClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ import (

"github.com/XiaoMi/talos-sdk-golang/thrift/auth"
"github.com/XiaoMi/talos-sdk-golang/thrift/common"

"git.apache.org/thrift.git/lib/go/thrift"
"github.com/XiaoMi/talos-sdk-golang/thrift/thrift"
"github.com/gofrs/uuid"
log "github.com/sirupsen/logrus"
)
Expand Down
3 changes: 1 addition & 2 deletions example/admin/TalosAdminDemo.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ import (
"github.com/XiaoMi/talos-sdk-golang/thrift/auth"
"github.com/XiaoMi/talos-sdk-golang/thrift/authorization"
"github.com/XiaoMi/talos-sdk-golang/thrift/message"
"github.com/XiaoMi/talos-sdk-golang/thrift/thrift"
"github.com/XiaoMi/talos-sdk-golang/thrift/topic"
"github.com/XiaoMi/talos-sdk-golang/utils"

"git.apache.org/thrift.git/lib/go/thrift"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion example/simple_producer/TalosSimpleProducerDemo.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/XiaoMi/talos-sdk-golang/thrift/message"
"github.com/XiaoMi/talos-sdk-golang/utils"

"git.apache.org/thrift.git/lib/go/thrift"
"github.com/XiaoMi/talos-sdk-golang/thrift/thrift"
log "github.com/sirupsen/logrus"
)

Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module github.com/XiaoMi/talos-sdk-golang
go 1.12

require (
git.apache.org/thrift.git v0.0.0-20141105021220-591e20f9636c
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21
github.com/gofrs/uuid v3.2.0+incompatible
github.com/golang/mock v1.3.1
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
git.apache.org/thrift.git v0.0.0-20141105021220-591e20f9636c h1:8Z1BqdpEgzGJNfAhMtW8SP/zdw6uoLLJZSSALQcCuak=
git.apache.org/thrift.git v0.0.0-20141105021220-591e20f9636c/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
2 changes: 1 addition & 1 deletion test/producer/partitionSender_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"talos-sdk-golang/testos-sdk-golang/test/mock_message"
"talos-sdk-golang/testos-sdk-golang/test/mock_producer"

"git.apache.org/thrift.git/lib/go/thrift"
"github.com/XiaoMi/talos-sdk-golang/thrift/thrift"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion test/producer/simpleProducer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"talos-sdk-golang/producer"
"talos-sdk-golang/testos-sdk-golang/test/mock_message"

"git.apache.org/thrift.git/lib/go/thrift"
"github.com/XiaoMi/talos-sdk-golang/thrift/thrift"
"github.com/golang/mock/gomock"
log4go "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion test/producer/talosProducer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (

"talos-sdk-golang/thrift/auth"

"git.apache.org/thrift.git/lib/go/thrift"
"github.com/XiaoMi/talos-sdk-golang/thrift/thrift"
"github.com/golang/mock/gomock"
log4go "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion test/producer/userMessage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"talos-sdk-golang/producer"

"git.apache.org/thrift.git/lib/go/thrift"
"github.com/XiaoMi/talos-sdk-golang/thrift/thrift"
"github.com/stretchr/testify/assert"
)

Expand Down
3 changes: 2 additions & 1 deletion thrift/auth/constants.go

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

3 changes: 2 additions & 1 deletion thrift/auth/ttypes.go

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

3 changes: 2 additions & 1 deletion thrift/authorization/constants.go

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

3 changes: 2 additions & 1 deletion thrift/authorization/ttypes.go

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

3 changes: 2 additions & 1 deletion thrift/common/constants.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.

3 changes: 2 additions & 1 deletion thrift/common/talosbaseservice.go

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

3 changes: 2 additions & 1 deletion thrift/common/ttypes.go

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

3 changes: 2 additions & 1 deletion thrift/consumer/constants.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.

3 changes: 2 additions & 1 deletion thrift/consumer/consumerservice.go

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

3 changes: 2 additions & 1 deletion thrift/consumer/ttypes.go

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

3 changes: 2 additions & 1 deletion thrift/message/constants.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.

3 changes: 2 additions & 1 deletion thrift/message/messageservice.go

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

3 changes: 2 additions & 1 deletion thrift/message/ttypes.go

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

3 changes: 2 additions & 1 deletion thrift/quota/constants.go

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

3 changes: 2 additions & 1 deletion thrift/quota/quota_service-remote/quota_service-remote.go

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

3 changes: 2 additions & 1 deletion thrift/quota/quotaservice.go

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

3 changes: 2 additions & 1 deletion thrift/quota/ttypes.go

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

Loading

0 comments on commit b67c0f1

Please sign in to comment.