mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-13 18:00:00 +08:00
chore: upgrade Go version to 1.24 and update dependencies (#5499)
This commit is contained in:
@@ -133,6 +133,7 @@ func TestPickerWithEmptyConns(t *testing.T) {
|
||||
}
|
||||
|
||||
type mockClientConn struct {
|
||||
balancer.SubConn
|
||||
// add random string member to avoid map key equality.
|
||||
id string
|
||||
}
|
||||
@@ -150,3 +151,6 @@ func (m mockClientConn) Connect() {
|
||||
|
||||
func (m mockClientConn) Shutdown() {
|
||||
}
|
||||
|
||||
func (m mockClientConn) RegisterHealthListener(func(balancer.SubConnState)) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user