Skip to content

Commit cbd12c1

Browse files
authored
feat: add http tcc (apache#280)
feat: add http tcc
1 parent cffa619 commit cbd12c1

File tree

12 files changed

+337
-42
lines changed

12 files changed

+337
-42
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
strategy:
3333
matrix:
3434
golang:
35-
- 1.16
35+
- 1.18
3636
steps:
3737
- name: "set up go"
3838
uses: actions/setup-go@v3
3939
with:
40-
go-version: 1.16
40+
go-version: 1.18
4141

4242
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
4343
- name: "checkout ${{ github.ref }}"

.github/workflows/golangci-lint.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ jobs:
3939
strategy:
4040
matrix:
4141
golang:
42-
- 1.16
42+
- 1.18
4343

4444
# Steps represent a sequence of tasks that will be executed as part of the job
4545
steps:
4646
- name: "set up go"
4747
uses: actions/setup-go@v3
4848
with:
49-
go-version: 1.16
49+
go-version: 1.18
5050

5151
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
5252
- name: "checkout ${{ github.ref }}"
@@ -55,6 +55,6 @@ jobs:
5555
- name: "golang ci lint"
5656
uses: golangci/[email protected]
5757
with:
58-
version: v1.44.2
58+
version: v1.49.0
5959
args: --timeout=10m
6060
skip-go-installation: true

.github/workflows/license.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Setup Go
4747
uses: actions/setup-go@v3
4848
with:
49-
go-version: "1.16"
49+
go-version: "1.18"
5050
- name: Check Dependencies Licenses
5151
run: |
5252
go install github.com/apache/skywalking-eyes/cmd/license-eye@47febf5

.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ issues:
7474
# golangci.com configuration
7575
# https://github.com/golangci/golangci/wiki/Configuration
7676
service:
77-
golangci-lint-version: 1.16.x # use the fixed version to not introduce new linters unexpectedly
77+
golangci-lint-version: 1.49.x # use the fixed version to not introduce new linters unexpectedly
7878
prepare:
7979
- echo "here I can run custom commands, but no preparation needed for this repo"
8080

go.mod

+129-14
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,150 @@
11
module github.com/seata/seata-go
22

3-
go 1.16
3+
go 1.18
44

55
require (
6-
cloud.google.com/go v0.93.3 // indirect
76
dubbo.apache.org/dubbo-go/v3 v3.0.2-0.20220508105316-b27ec53b7bab
8-
github.com/BurntSushi/toml v1.1.0 // indirect
97
github.com/DATA-DOG/go-sqlmock v1.5.0
108
github.com/agiledragon/gomonkey v2.0.2+incompatible
119
github.com/apache/dubbo-getty v1.4.8
1210
github.com/arana-db/parser v0.2.4
1311
github.com/dubbogo/gost v1.12.5
14-
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect
12+
github.com/gin-gonic/gin v1.8.0
1513
github.com/go-sql-driver/mysql v1.6.0
1614
github.com/golang/mock v1.6.0
1715
github.com/google/uuid v1.3.0
18-
github.com/mattn/go-colorable v0.1.8 // indirect
1916
github.com/natefinch/lumberjack v2.0.0+incompatible
20-
github.com/pingcap/log v0.0.0-20210906054005-afc726e70354 // indirect
17+
github.com/parnurzeal/gorequest v0.2.16
2118
github.com/pkg/errors v0.9.1
22-
github.com/sirupsen/logrus v1.8.1 // indirect
23-
github.com/stretchr/objx v0.2.0 // indirect
24-
github.com/stretchr/testify v1.7.1
19+
github.com/stretchr/testify v1.8.0
2520
go.uber.org/atomic v1.9.0
2621
go.uber.org/zap v1.21.0
27-
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
28-
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
29-
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
30-
google.golang.org/genproto v0.0.0-20220630174209-ad1d48641aa7 // indirect
3122
google.golang.org/grpc v1.47.0
32-
google.golang.org/protobuf v1.28.0
23+
google.golang.org/protobuf v1.28.1
3324
vimagination.zapto.org/byteio v0.0.0-20200222190125-d27cba0f0b10
25+
)
26+
27+
require (
28+
cloud.google.com/go v0.93.3 // indirect
29+
contrib.go.opencensus.io/exporter/prometheus v0.4.1 // indirect
30+
github.com/BurntSushi/toml v1.1.0 // indirect
31+
github.com/RoaringBitmap/roaring v0.7.1 // indirect
32+
github.com/Workiva/go-datastructures v1.0.52 // indirect
33+
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5 // indirect
34+
github.com/alibaba/sentinel-golang v1.0.4 // indirect
35+
github.com/aliyun/alibaba-cloud-sdk-go v1.61.18 // indirect
36+
github.com/apache/dubbo-go-hessian2 v1.11.0 // indirect
37+
github.com/benbjohnson/clock v1.1.0 // indirect
38+
github.com/beorn7/perks v1.0.1 // indirect
39+
github.com/bits-and-blooms/bitset v1.2.0 // indirect
40+
github.com/buger/jsonparser v1.1.1 // indirect
41+
github.com/census-instrumentation/opencensus-proto v0.2.1 // indirect
42+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
43+
github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4 // indirect
44+
github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1 // indirect
45+
github.com/coreos/go-semver v0.3.0 // indirect
46+
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
47+
github.com/creasty/defaults v1.5.2 // indirect
48+
github.com/davecgh/go-spew v1.1.1 // indirect
49+
github.com/dubbogo/go-zookeeper v1.0.4-0.20211212162352-f9d2183d89d5 // indirect
50+
github.com/dubbogo/grpc-go v1.42.9 // indirect
51+
github.com/dubbogo/triple v1.1.8 // indirect
52+
github.com/elazarl/goproxy v0.0.0-20220901064549-fbd10ff4f5a1 // indirect
53+
github.com/emicklei/go-restful/v3 v3.7.4 // indirect
54+
github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1 // indirect
55+
github.com/envoyproxy/protoc-gen-validate v0.1.0 // indirect
56+
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect
57+
github.com/fsnotify/fsnotify v1.5.4 // indirect
58+
github.com/ghodss/yaml v1.0.0 // indirect
59+
github.com/gin-contrib/sse v0.1.0 // indirect
60+
github.com/go-co-op/gocron v1.9.0 // indirect
61+
github.com/go-errors/errors v1.0.1 // indirect
62+
github.com/go-kit/log v0.1.0 // indirect
63+
github.com/go-logfmt/logfmt v0.5.0 // indirect
64+
github.com/go-ole/go-ole v1.2.6 // indirect
65+
github.com/go-playground/locales v0.14.0 // indirect
66+
github.com/go-playground/universal-translator v0.18.0 // indirect
67+
github.com/go-playground/validator/v10 v10.11.1 // indirect
68+
github.com/go-resty/resty/v2 v2.7.0 // indirect
69+
github.com/goccy/go-json v0.9.7 // indirect
70+
github.com/gogo/protobuf v1.3.2 // indirect
71+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
72+
github.com/golang/protobuf v1.5.2 // indirect
73+
github.com/golang/snappy v0.0.4 // indirect
74+
github.com/gorilla/websocket v1.4.2 // indirect
75+
github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect
76+
github.com/hashicorp/errwrap v1.1.0 // indirect
77+
github.com/hashicorp/go-multierror v1.1.1 // indirect
78+
github.com/hashicorp/hcl v1.0.0 // indirect
79+
github.com/hashicorp/vault/sdk v0.3.0 // indirect
80+
github.com/jinzhu/copier v0.3.5 // indirect
81+
github.com/jmespath/go-jmespath v0.4.0 // indirect
82+
github.com/json-iterator/go v1.1.12 // indirect
83+
github.com/k0kubun/pp v3.0.1+incompatible // indirect
84+
github.com/knadh/koanf v1.4.1 // indirect
85+
github.com/leodido/go-urn v1.2.1 // indirect
86+
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
87+
github.com/magiconair/properties v1.8.6 // indirect
88+
github.com/mattn/go-colorable v0.1.8 // indirect
89+
github.com/mattn/go-isatty v0.0.16 // indirect
90+
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
91+
github.com/mitchellh/copystructure v1.2.0 // indirect
92+
github.com/mitchellh/go-homedir v1.1.0 // indirect
93+
github.com/mitchellh/mapstructure v1.5.0 // indirect
94+
github.com/mitchellh/reflectwalk v1.0.2 // indirect
95+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
96+
github.com/modern-go/reflect2 v1.0.2 // indirect
97+
github.com/mschoch/smat v0.2.0 // indirect
98+
github.com/nacos-group/nacos-sdk-go v1.1.1 // indirect
99+
github.com/opentracing/opentracing-go v1.2.0 // indirect
100+
github.com/pelletier/go-toml v1.7.0 // indirect
101+
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
102+
github.com/pierrec/lz4 v2.5.2+incompatible // indirect
103+
github.com/pingcap/errors v0.11.5-0.20210425183316-da1aaba5fb63 // indirect
104+
github.com/pingcap/log v0.0.0-20210906054005-afc726e70354 // indirect
105+
github.com/pmezard/go-difflib v1.0.0 // indirect
106+
github.com/polarismesh/polaris-go v1.0.2 // indirect
107+
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
108+
github.com/prometheus/client_golang v1.12.1 // indirect
109+
github.com/prometheus/client_model v0.2.0 // indirect
110+
github.com/prometheus/common v0.32.1 // indirect
111+
github.com/prometheus/procfs v0.7.3 // indirect
112+
github.com/prometheus/statsd_exporter v0.21.0 // indirect
113+
github.com/robfig/cron/v3 v3.0.1 // indirect
114+
github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b // indirect
115+
github.com/shirou/gopsutil/v3 v3.22.2 // indirect
116+
github.com/sirupsen/logrus v1.8.1 // indirect
117+
github.com/spaolacci/murmur3 v1.1.0 // indirect
118+
github.com/spf13/afero v1.2.2 // indirect
119+
github.com/spf13/cast v1.3.0 // indirect
120+
github.com/spf13/jwalterweatherman v1.0.0 // indirect
121+
github.com/spf13/pflag v1.0.5 // indirect
122+
github.com/spf13/viper v1.7.1 // indirect
123+
github.com/subosito/gotenv v1.2.0 // indirect
124+
github.com/tklauser/go-sysconf v0.3.10 // indirect
125+
github.com/tklauser/numcpus v0.4.0 // indirect
126+
github.com/uber/jaeger-client-go v2.29.1+incompatible // indirect
127+
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
128+
github.com/ugorji/go/codec v1.2.7 // indirect
129+
github.com/yusufpapurcu/wmi v1.2.2 // indirect
130+
github.com/zouyx/agollo/v3 v3.4.5 // indirect
131+
go.etcd.io/etcd/api/v3 v3.5.4 // indirect
132+
go.etcd.io/etcd/client/pkg/v3 v3.5.4 // indirect
133+
go.etcd.io/etcd/client/v3 v3.5.4 // indirect
134+
go.opencensus.io v0.23.0 // indirect
135+
go.uber.org/multierr v1.7.0 // indirect
136+
golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90 // indirect
137+
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
138+
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
139+
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
140+
golang.org/x/sys v0.0.0-20220915200043-7b5979e65e41 // indirect
141+
golang.org/x/text v0.3.7 // indirect
142+
google.golang.org/appengine v1.6.7 // indirect
143+
google.golang.org/genproto v0.0.0-20220630174209-ad1d48641aa7 // indirect
144+
gopkg.in/ini.v1 v1.51.0 // indirect
145+
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
146+
gopkg.in/yaml.v2 v2.4.0 // indirect
147+
gopkg.in/yaml.v3 v3.0.1 // indirect
148+
moul.io/http2curl v1.0.0 // indirect
34149
vimagination.zapto.org/memio v0.0.0-20200222190306-588ebc67b97d // indirect
35150
)

0 commit comments

Comments
 (0)