Skip to content

Commit d90ae78

Browse files
committed
Contact removed'
1 parent bf4c97f commit d90ae78

File tree

3 files changed

+0
-29
lines changed

3 files changed

+0
-29
lines changed

README.md

-9
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,4 @@ FindIndex(users, "User1")
130130
FindIndex(users, "User5")
131131
//-1
132132
133-
```
134-
### Concat
135-
136-
```
137-
users1 := []User{{Id: 10, Name: "John"}, {Id: 11, Name: "Doe"}, {Id: 12, Name: "Sabrina"}}
138-
users2 := []User{{Id: 10, Name: "John"}, {Id: 11, Name: "Doe"}, {Id: 12, Name: "Sabrina"}}
139-
Concat(users1, users2)
140-
//{{Id: 10, Name: "John"}, {Id: 11, Name: "Doe"}, {Id: 12, Name: "Sabrina"}, {Id: 10, Name: "John"}, {Id: 11, Name: "Doe"}, {Id: 12, Name: "Sabrina"}}
141-
142133
```

concat_test.go

-16
This file was deleted.

js_array_method.go

-4
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,3 @@ func Reverse[T any](input []T) []T {
120120

121121
return output
122122
}
123-
124-
func Concat[T any](slice1 []T, slice2 []T) []T {
125-
return append(slice1, slice2...)
126-
}

0 commit comments

Comments
 (0)