Skip to content

Commit 9855822

Browse files
authored
chore: fix warnings (#4940)
1 parent 8364e34 commit 9855822

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

core/discov/internal/registry_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ func TestRegistry_Monitor(t *testing.T) {
423423
GetRegistry().clusters = map[string]*cluster{
424424
getClusterKey(endpoints): {
425425
watchers: map[watchKey]*watchValue{
426-
watchKey{
426+
{
427427
key: "foo",
428428
exactMatch: true,
429429
}: {
@@ -449,7 +449,7 @@ func TestRegistry_Unmonitor(t *testing.T) {
449449
GetRegistry().clusters = map[string]*cluster{
450450
getClusterKey(endpoints): {
451451
watchers: map[watchKey]*watchValue{
452-
watchKey{
452+
{
453453
key: "foo",
454454
exactMatch: true,
455455
}: {

readme-cn.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
[English](readme.md) | 简体中文
88

9-
[![Go](https://github.com/zeromicro/go-zero/workflows/Go/badge.svg?branch=master)](https://github.com/zeromicro/go-zero/actions)
109
[![Go Report Card](https://goreportcard.com/badge/github.com/zeromicro/go-zero)](https://goreportcard.com/report/github.com/zeromicro/go-zero)
1110
[![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)
1211
[![codecov](https://codecov.io/gh/zeromicro/go-zero/branch/master/graph/badge.svg)](https://codecov.io/gh/zeromicro/go-zero)

readme.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ go-zero is a web and rpc framework with lots of builtin engineering practices. I
77

88
<div align=center>
99

10-
[![Go](https://github.com/zeromicro/go-zero/workflows/Go/badge.svg?branch=master)](https://github.com/zeromicro/go-zero/actions)
1110
[![codecov](https://codecov.io/gh/zeromicro/go-zero/branch/master/graph/badge.svg)](https://codecov.io/gh/zeromicro/go-zero)
1211
[![Go Report Card](https://goreportcard.com/badge/github.com/zeromicro/go-zero)](https://goreportcard.com/report/github.com/zeromicro/go-zero)
1312
[![Release](https://img.shields.io/github/v/release/zeromicro/go-zero.svg?style=flat-square)](https://github.com/zeromicro/go-zero)

0 commit comments

Comments
 (0)