Skip to content

Commit

Permalink
chore: uopdate go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jin-gou committed Nov 24, 2023
1 parent 6e68032 commit 924440d
Show file tree
Hide file tree
Showing 7 changed files with 1,071 additions and 1,950 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# config-apollo (*This is a community driven project*)

[中文](https://github.com/kitex-contrib/config-apollo/blob/main/README_CN.md)
[中文](README_CN.md)

Apollo as config centre.

Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# config-apollo

[English](https://github.com/kitex-contrib/config-apollo/blob/main/README.md)
[English](README.md)

使用 **apollo** 作为 **Kitex** 的配置中心

Expand Down
1 change: 0 additions & 1 deletion client/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func WithRetryPolicy(dest, src string, apolloClient apollo.Client,
rc := initRetryContainer(param, dest, apolloClient, uniqueID)
return []client.Option{
client.WithRetryContainer(rc),
client.WithCloseCallbacks(rc.Close),
client.WithCloseCallbacks(func() error {
// cancel the configuration listener when client is closed.
err := apolloClient.DeregisterConfig(uniqueID)
Expand Down
54 changes: 0 additions & 54 deletions example/go.mod

This file was deleted.

1,888 changes: 0 additions & 1,888 deletions example/go.sum

This file was deleted.

7 changes: 2 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
module github.com/kitex-contrib/config-apollo

go 1.21.1
go 1.21

require (
github.com/apolloconfig/agollo/v4 v4.3.1
github.com/bytedance/sonic v1.10.2
github.com/cloudwego/kitex v0.7.3
github.com/cloudwego/kitex-examples v0.2.2
github.com/shima-park/agollo v1.2.14
go.uber.org/atomic v1.11.0
)
Expand All @@ -31,13 +32,11 @@ require (
github.com/jhump/protoreflect v1.8.2 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/gls v0.0.0-20220109145502-612d0167dce5 // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/oleiade/lane v1.0.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/stretchr/testify v1.8.3 // indirect
github.com/tidwall/gjson v1.9.3 // indirect
github.com/tidwall/match v1.1.1 // indirect
Expand All @@ -50,9 +49,7 @@ require (
golang.org/x/text v0.9.0 // indirect
google.golang.org/genproto v0.0.0-20230526203410-71b5a4ffd15e // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230526203410-71b5a4ffd15e // indirect
google.golang.org/grpc v1.55.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

Expand Down
Loading

0 comments on commit 924440d

Please sign in to comment.