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) | 简体中文 -[![Go](https://github.com/zeromicro/go-zero/workflows/Go/badge.svg?branch=master)](https://github.com/zeromicro/go-zero/actions) [![Go Report Card](https://goreportcard.com/badge/github.com/zeromicro/go-zero)](https://goreportcard.com/report/github.com/zeromicro/go-zero) [![goproxy](https://goproxy.cn/stats/github.com/zeromicro/go-zero/badges/download-count.svg)](https://goproxy.cn/stats/github.com/zeromicro/go-zero/badges/download-count.svg) [![codecov](https://codecov.io/gh/zeromicro/go-zero/branch/master/graph/badge.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
-[![Go](https://github.com/zeromicro/go-zero/workflows/Go/badge.svg?branch=master)](https://github.com/zeromicro/go-zero/actions) [![codecov](https://codecov.io/gh/zeromicro/go-zero/branch/master/graph/badge.svg)](https://codecov.io/gh/zeromicro/go-zero) [![Go Report Card](https://goreportcard.com/badge/github.com/zeromicro/go-zero)](https://goreportcard.com/report/github.com/zeromicro/go-zero) [![Release](https://img.shields.io/github/v/release/zeromicro/go-zero.svg?style=flat-square)](https://github.com/zeromicro/go-zero)