Merge branch 'errcode' of github.com:OpenIMSDK/Open-IM-Server into errcode

# Conflicts:
#	pkg/common/config/config.go
#	pkg/discoveryregistry/discovery_register.go
This commit is contained in:
wangchuxiao
2023-02-28 15:28:04 +08:00
25 changed files with 11327 additions and 4513 deletions
+10811 -868
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -39,7 +39,7 @@ func TestSliceToMap(t *testing.T) {
func TestIndexOf(t *testing.T) {
arr := []int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
fmt.Println(IndexOf(arr, 3))
fmt.Println(IndexOf(3, arr...))
}