api to rpc

This commit is contained in:
withchao
2023-02-27 14:44:14 +08:00
parent 03ccd0131a
commit 0411a5045b
9 changed files with 173 additions and 16 deletions
+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...))
}