diff --git a/core/discov/internal/registry_test.go b/core/discov/internal/registry_test.go index 7a3243256..24962f075 100644 --- a/core/discov/internal/registry_test.go +++ b/core/discov/internal/registry_test.go @@ -423,7 +423,7 @@ func TestRegistry_Monitor(t *testing.T) { GetRegistry().clusters = map[string]*cluster{ getClusterKey(endpoints): { watchers: map[watchKey]*watchValue{ - watchKey{ + { key: "foo", exactMatch: true, }: { @@ -449,7 +449,7 @@ func TestRegistry_Unmonitor(t *testing.T) { GetRegistry().clusters = map[string]*cluster{ getClusterKey(endpoints): { watchers: map[watchKey]*watchValue{ - watchKey{ + { key: "foo", exactMatch: true, }: { diff --git a/readme-cn.md b/readme-cn.md index 4207c9f15..19285fc4a 100644 --- a/readme-cn.md +++ b/readme-cn.md @@ -6,7 +6,6 @@ [English](readme.md) | 简体中文 -[](https://github.com/zeromicro/go-zero/actions) [](https://goreportcard.com/report/github.com/zeromicro/go-zero) [](https://goproxy.cn/stats/github.com/zeromicro/go-zero/badges/download-count.svg) [](https://codecov.io/gh/zeromicro/go-zero) diff --git a/readme.md b/readme.md index 64bb852fa..1201ded55 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,6 @@ go-zero is a web and rpc framework with lots of builtin engineering practices. I